Skip to content

Commit

Permalink
docs: improve options.strict description
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrahmanHafez committed Apr 11, 2020
1 parent 5f9f10a commit 9ae6db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3481,7 +3481,7 @@ function _setIsNew(doc, val) {
* @param {number} [options.wtimeout=null] The [write concern timeout](https://docs.mongodb.com/manual/reference/write-concern/#wtimeout).
* @param {Boolean} [options.j=true] If false, disable [journal acknowledgement](https://docs.mongodb.com/manual/reference/write-concern/#j-option)
* @param {Boolean} [options.bypassDocumentValidation=false] If true, disable [MongoDB server-side schema validation](https://docs.mongodb.com/manual/core/schema-validation/) for all writes in this bulk.
* @param {Boolean} [options.strict=null] If true, overwrites the [`strict` option](/docs/guide.html#strict) on schema, and allows filtering and writing fields not defined in the schema for all writes in this bulk.
* @param {Boolean} [options.strict=null] Overwrites the [`strict` option](/docs/guide.html#strict) on schema. If false, allows filtering and writing fields not defined in the schema for all writes in this bulk.
* @param {Function} [callback] callback `function(error, bulkWriteOpResult) {}`
* @return {Promise} resolves to a [`BulkWriteOpResult`](http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#~BulkWriteOpResult) if the operation succeeds
* @api public
Expand Down

0 comments on commit 9ae6db0

Please sign in to comment.