summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-rw-r--r--src/mongo/db/pipeline/expression_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h
index abef5b952da..3a0c3b2c2cb 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -168,7 +168,8 @@ public:
StringMap<ExpressionContext::ResolvedNamespace> resolvedNamespaces,
boost::optional<UUID> collUUID,
const boost::optional<BSONObj>& letParameters = boost::none,
- bool mayDbProfile = true);
+ bool mayDbProfile = true,
+ const SerializationContext& serializationCtx = SerializationContext());
/**
* Constructs an ExpressionContext suitable for use outside of the aggregation system, including
@@ -464,6 +465,8 @@ public:
NamespaceString ns;
+ SerializationContext serializationCtxt;
+
// If known, the UUID of the execution namespace for this aggregation command.
boost::optional<UUID> uuid;