Documents must pass validation before the write occurs.
Documents must pass validation before the write occurs. Otherwise, the write operation fails.
Documents do not have to pass validation.
Documents do not have to pass validation. If the document fails validation, the write operation logs the validation failure to the mongod logs.
Returns the validationAction from the string representation of a validation action.
Returns the validationAction from the string representation of a validation action.
the string representation of the validation action.
the validation action
Determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
1.1
Requires MongoDB 3.2 or greater