diff options
Diffstat (limited to 'jstests/core/benchrun_pipeline_updates.js')
-rw-r--r-- | jstests/core/benchrun_pipeline_updates.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/benchrun_pipeline_updates.js b/jstests/core/benchrun_pipeline_updates.js index ef1ef719a0c..a9b684c4d96 100644 --- a/jstests/core/benchrun_pipeline_updates.js +++ b/jstests/core/benchrun_pipeline_updates.js @@ -18,7 +18,7 @@ ns: coll.getFullName(), query: {_id: 0}, writeCmd: true, - update: [{$addFields: {x: {$add: ["$x", 1]}}}] + update: [{$set: {x: {$add: ["$x", 1]}}}] }, ], parallel: 2, |