Skip to content

Commit d8784d1

Browse files
authored
Remove callback from Collection.initializeOrderedBulkOp() (#2782)
This makes the docs match the behavior of the function since this does not accept a callback
1 parent 2b18411 commit d8784d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/collection.js

-1
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,6 @@ Collection.prototype.initializeUnorderedBulkOp = function(options) {
21992199
* @param {object|WriteConcern} [options.writeConcern] Specify write concern settings.
22002200
* @param {ClientSession} [options.session] optional session to use for this operation
22012201
* @param {boolean} [options.ignoreUndefined=false] Specify if the BSON serializer should ignore undefined fields.
2202-
* @param {OrderedBulkOperation} callback The command result callback
22032202
* @return {null}
22042203
*/
22052204
Collection.prototype.initializeOrderedBulkOp = function(options) {

0 commit comments

Comments
 (0)