summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/bulk_write.idl
diff options
context:
space:
mode:
authorFrederic Vitzikam <frederic.vitzikam@mongodb.com>2023-05-01 21:57:09 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-02 00:38:14 +0000
commit164127483d5f99436a36b6618af87416710c588e (patch)
tree832ed59c558c2f2224feb910454f84426c5afe88 /src/mongo/db/commands/bulk_write.idl
parent2a4172c5251901b2ab725e829d55b52eae6bb3aa (diff)
downloadmongo-164127483d5f99436a36b6618af87416710c588e.tar.gz
SERVER-73231 Support top-level 'let' variable in bulkWrite
Diffstat (limited to 'src/mongo/db/commands/bulk_write.idl')
-rw-r--r--src/mongo/db/commands/bulk_write.idl14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/commands/bulk_write.idl b/src/mongo/db/commands/bulk_write.idl
index 4deca00cbdb..c6210df9c3f 100644
--- a/src/mongo/db/commands/bulk_write.idl
+++ b/src/mongo/db/commands/bulk_write.idl
@@ -116,7 +116,7 @@ structs:
type: indexHint
default: mongo::BSONObj()
stability: unstable
- let:
+ constants:
description: "Specifies constant values that can be referred to in the pipeline
performing a custom update."
type: object
@@ -173,12 +173,6 @@ structs:
type: indexHint
default: mongo::BSONObj()
stability: unstable
- let:
- description: "Specifies constant values that can be referred to in the pipeline
- performing a custom update."
- type: object
- optional: true
- stability: unstable
collation:
description: "Specifies the collation to use for the operation."
type: object
@@ -328,3 +322,9 @@ commands:
type: array<int>
optional: true
stability: unstable
+ let:
+ description: "Specifies constant values."
+ type: object
+ optional: true
+ stability: unstable
+