diff options
author | Katherine Wu <katherine.wu@mongodb.com> | 2020-06-01 13:51:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-11 18:22:47 +0000 |
commit | 5c7cdc392c2ea058d7ec93609203fcc5bb74bb99 (patch) | |
tree | 3033463c9f2afd7f09907a2f22b120de9776b41f /jstests/noPassthroughWithMongod | |
parent | 01707971319a5970604c20598f286b2e1882a682 (diff) | |
download | mongo-5c7cdc392c2ea058d7ec93609203fcc5bb74bb99.tar.gz |
SERVER-46116 Add integration tests for let variables
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r-- | jstests/noPassthroughWithMongod/command_let_variables.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/jstests/noPassthroughWithMongod/command_let_variables.js b/jstests/noPassthroughWithMongod/command_let_variables.js index 80004ab9fc7..42f5ee4c2fc 100644 --- a/jstests/noPassthroughWithMongod/command_let_variables.js +++ b/jstests/noPassthroughWithMongod/command_let_variables.js @@ -218,13 +218,6 @@ result = db.runCommand({ }); assert.eq(result.value, {Species: "not_a_bird", suspect: "dino"}, result); -// Delete -result = assert.commandWorked(db.runCommand({ - delete: coll.getName(), - let : {target_species: "not_a_bird"}, - deletes: [{q: {$expr: {$eq: ["$Species", "$$target_species"]}}, limit: 0}] -})); - // Update assert.commandWorked(db.runCommand({ update: coll.getName(), |