Applies validation rules to inserts and to updates on existing valid documents.
Applies validation rules to inserts and to updates on existing valid documents.
Does not apply rules to updates on existing invalid documents.
No validation for inserts or updates.
Apply validation rules to all inserts and all updates.
Returns the ValidationLevel from the string representation of the validation level.
Returns the ValidationLevel from the string representation of the validation level.
the string representation of the validation level.
the validation level
Determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
1.1
Requires MongoDB 3.2 or greater