From 1bdbac259ef9b0319575deff72676653f5bc2634 Mon Sep 17 00:00:00 2001 From: Annoraaq Date: Thu, 2 Mar 2017 18:49:44 +0100 Subject: [PATCH] Changed wrong return type in documentation Return type should be FindOperatorsUnordered, not UnorderedBulkOperation --- lib/bulk/unordered.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bulk/unordered.js b/lib/bulk/unordered.js index a2f8983a2ae..ee501e1abdc 100644 --- a/lib/bulk/unordered.js +++ b/lib/bulk/unordered.js @@ -95,7 +95,7 @@ FindOperatorsUnordered.prototype.replaceOne = function(updateDocument) { * * @method * @throws {MongoError} - * @return {UnorderedBulkOperation} + * @return {FindOperatorsUnordered} */ FindOperatorsUnordered.prototype.upsert = function() { this.s.currentOp.upsert = true;