diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-08-14 10:13:55 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-08-14 10:13:55 +0000 |
| commit | a532390f81e35f611fd02ad3d543f4d52217ca3c (patch) | |
| tree | 7bebb4f5614afb82c3103b6e9730a62f0b97a42d /node_modules/mongodb/lib/bulk | |
| parent | ef2674cfe13d2c425c5a3b312244c46f2531979d (diff) | |
Fixed signin and signup
Diffstat (limited to 'node_modules/mongodb/lib/bulk')
| -rw-r--r-- | node_modules/mongodb/lib/bulk/ordered.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/mongodb/lib/bulk/ordered.js b/node_modules/mongodb/lib/bulk/ordered.js index a910689..762e861 100644 --- a/node_modules/mongodb/lib/bulk/ordered.js +++ b/node_modules/mongodb/lib/bulk/ordered.js @@ -318,6 +318,7 @@ OrderedBulkOperation.prototype.raw = function(op) { var multi = op.updateOne || op.replaceOne ? false : true; var operation = {q: op[key].filter, u: op[key].update || op[key].replacement, multi: multi} operation.upsert = op[key].upsert ? true: false; + if(op.collation) operation.collation = op.collation; return addToOperationsList(this, common.UPDATE, operation); } @@ -331,6 +332,7 @@ OrderedBulkOperation.prototype.raw = function(op) { if(op.deleteOne || op.deleteMany) { var limit = op.deleteOne ? 1 : 0; var operation = {q: op[key].filter, limit: limit} + if(op.collation) operation.collation = op.collation; return addToOperationsList(this, common.REMOVE, operation); } |
