Currently in order to insert a document bypassing document validation you have to call runCommand with the insert command directly. The insert shell helper takes an 'options' object, but it ignores any fields it doesn't specifically look for, including bypassDocumentValidation.
- is duplicated by
-
SERVER-31337 db.collection.insert() shell helper does not support "bypassDocumentValidation" option
- Closed