public static Bson inc ( final String fieldName , final Number number ) { notNull ( "number" , number ) ; return new SimpleUpdate < Number > ( fieldName , number , "$inc" ) ; }
Creates an update that increments the value of the field with the given name by the given value .