Skip to content

Commit

Permalink
Remove callback from Collection.initializeOrderedBulkOp() (#2782)
Browse files Browse the repository at this point in the history
This makes the docs match the behavior of the function since this does not accept a callback
  • Loading branch information
ImRodry authored Apr 27, 2021
1 parent 2b18411 commit d8784d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,6 @@ Collection.prototype.initializeUnorderedBulkOp = function(options) {
* @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
* @param {ClientSession} [options.session] optional session to use for this operation
* @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
* @param {OrderedBulkOperation} callback The command result callback
* @return {null}
*/
Collection.prototype.initializeOrderedBulkOp = function(options) {
Expand Down

0 comments on commit d8784d1

Please sign in to comment.