Skip to content

Commit

Permalink
docs(collection): document ordered option for insertMany
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 authored Jan 4, 2017
1 parent ae67052 commit fa43d82
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 fa43d82

Please sign in to comment.