max method
Only updates the field if the specified value is greater than the existing field value.
Implementation
ModifierBuilder max(String fieldName, value) {
_updateOperation('\$max', fieldName, value);
return this;
}
Only updates the field if the specified value is greater than the existing field value.
ModifierBuilder max(String fieldName, value) {
_updateOperation('\$max', fieldName, value);
return this;
}