Skip to content

Commit 3465090

Browse files
authored
Merge pull request #1490 from Annoraaq/patch-3
Changed wrong return type in documentation
2 parents 3230385 + 1bdbac2 commit 3465090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bulk/unordered.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ FindOperatorsUnordered.prototype.replaceOne = function(updateDocument) {
9595
*
9696
* @method
9797
* @throws {MongoError}
98-
* @return {UnorderedBulkOperation}
98+
* @return {FindOperatorsUnordered}
9999
*/
100100
FindOperatorsUnordered.prototype.upsert = function() {
101101
this.s.currentOp.upsert = true;

0 commit comments

Comments
 (0)