Skip to content

Glossary: MongoDB

validationAction

A `collMod` option: `"error"` (the default) rejects bad writes, while `"warn"` accepts them and only logs a warning.

Where the book teaches it

Related terms

Schema validationvalidationLevel