From 53e1d78e950bb98f84fc0e0e48c341404f7f90ed Mon Sep 17 00:00:00 2001 From: Katherine Wu Date: Mon, 27 Apr 2020 11:32:40 -0400 Subject: SERVER-46708 Support let variables in update command --- src/mongo/db/ops/write_ops.idl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mongo/db/ops/write_ops.idl') 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 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." -- cgit v1.2.1