summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/variables.h
diff options
context:
space:
mode:
authorNicholas Zolnierz <nicholas.zolnierz@mongodb.com>2019-08-15 20:08:22 +0000
committerevergreen <evergreen@mongodb.com>2019-08-15 20:08:22 +0000
commitc0ca6049bad1bf918e46d83cddab134b7441abf7 (patch)
tree23380aabf54cf84939ef062611d652ba7ad21905 /src/mongo/db/pipeline/variables.h
parent7c8f6dcb7f0bf2e397f470e8bca1cc0185216cb4 (diff)
downloadmongo-c0ca6049bad1bf918e46d83cddab134b7441abf7.tar.gz
SERVER-42684 Add support for 'scope' RunTimeConstant
Diffstat (limited to 'src/mongo/db/pipeline/variables.h')
-rw-r--r--src/mongo/db/pipeline/variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/variables.h b/src/mongo/db/pipeline/variables.h
index ddb76457cac..742c5757581 100644
--- a/src/mongo/db/pipeline/variables.h
+++ b/src/mongo/db/pipeline/variables.h
@@ -83,6 +83,7 @@ public:
static constexpr Variables::Id kRemoveId = Id(-2);
static constexpr Variables::Id kNowId = Id(-3);
static constexpr Variables::Id kClusterTimeId = Id(-4);
+ static constexpr Variables::Id kJsScopeId = Id(-5);
// Map from builtin var name to reserved id number.
static const StringMap<Id> kBuiltinVarNameToId;