public static < TItem > Bson min ( final String fieldName , final TItem value ) { return new SimpleUpdate < TItem > ( fieldName , value , "$min" ) ; }
Creates an update that sets the value of the field to the given value if the given value is less than the current value of the field .