summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
authorKatherine Wu <katherine.wu@mongodb.com>2020-04-27 11:32:40 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-28 21:57:39 +0000
commit53e1d78e950bb98f84fc0e0e48c341404f7f90ed (patch)
tree2b8c8cfb0fa31e1ec7b07d9f643947422368edd9 /src/mongo/db/ops/write_ops.idl
parentf0cf2ca62b4957587e5fe3a897b35b9a54873e23 (diff)
downloadmongo-53e1d78e950bb98f84fc0e0e48c341404f7f90ed.tar.gz
SERVER-46708 Support let variables in update command
Diffstat (limited to 'src/mongo/db/ops/write_ops.idl')
-rw-r--r--src/mongo/db/ops/write_ops.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index 464b25ae9d4..7279fc3bf1e 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -184,6 +184,11 @@ commands:
description: "An array of one or more update statements to perform."
type: array<UpdateOpEntry>
supports_doc_sequence: true
+ let:
+ description: "A set of user-specified constants used by pipeline-style update
+ operations and $expr."
+ type: object
+ optional: true
runtimeConstants:
description: "A collection of values that do not change once computed. These are
used by pipeline-style update operations."