summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2019-05-20 22:19:51 +0100
committerAnton Korshunov <anton.korshunov@mongodb.com>2019-05-23 00:09:00 +0100
commitaa8b7adccac1de3228bd36e63fb71ff62b41d281 (patch)
treea5930e455bd363ec7cd4d6523f5991f576f37799 /src/mongo/db/ops/write_ops.idl
parentae3df9b0cb1327e818dc45da6bb3f0a1feb7f539 (diff)
downloadmongo-aa8b7adccac1de3228bd36e63fb71ff62b41d281.tar.gz
SERVER-41043 Add 'let' field support for merge stage
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 95ef7f5e71d..a4ddaadd966 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -101,6 +101,11 @@ structs:
u:
description: "Set of modifications to apply."
type: update_modification
+ c:
+ description: "Specifies constant values that can be referred to in the pipeline
+ performing a custom update."
+ type: object
+ optional: true
arrayFilters:
description: "Specifies which array elements an update modifier should apply to."
type: array<object>