summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
authorJacob Evans <jacob.evans@10gen.com>2020-04-29 12:52:46 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-04 16:29:45 +0000
commitf9bcc3062c83170210491bc2fa8fed4fb4b26e1b (patch)
tree16c66a9fb7c05808ca0c2dfaff6ad71cdb88f204 /src/mongo/db/ops/write_ops.idl
parent8ccedeceb0c3d807083447301369aa3d02d80da5 (diff)
downloadmongo-f9bcc3062c83170210491bc2fa8fed4fb4b26e1b.tar.gz
SERVER-46709 Support 'let' variables in the delete command
Diffstat (limited to 'src/mongo/db/ops/write_ops.idl')
-rw-r--r--src/mongo/db/ops/write_ops.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index 7279fc3bf1e..626d460b269 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -206,3 +206,12 @@ commands:
description: "An array of one or more delete statements to perform."
type: array<DeleteOpEntry>
supports_doc_sequence: true
+ let:
+ description: "A set of user-specified constants used by $expr."
+ type: object
+ optional: true
+ runtimeConstants:
+ description: "A collection of values that do not change once computed. These are
+ used by $expr."
+ type: RuntimeConstants
+ optional: true