Skip to content

Commit

Permalink
Merge pull request #1460 from vkarpov15/patch-1
Browse files Browse the repository at this point in the history
docs(collection): document ordered option for insertMany
  • Loading branch information
christkv authored Jan 11, 2017
2 parents e411de7 + fa43d82 commit de05643
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ define.classMethod('insertOne', {callback: true, promise:true});
* @param {boolean} [options.serializeFunctions=false] Serialize functions on any object.
* @param {boolean} [options.forceServerObjectId=false] Force server to assign _id values instead of driver.
* @param {boolean} [options.bypassDocumentValidation=false] Allow driver to bypass schema validation in MongoDB 3.2 or higher.
* @param {boolean} [options.ordered=true] If true, when an insert fails, don't execute the remaining writes. If false, continue with remaining inserts when one fails.
* @param {Collection~insertWriteOpCallback} [callback] The command result callback
* @return {Promise} returns Promise if no callback passed
*/
Expand Down

0 comments on commit de05643

Please sign in to comment.