summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
authorHugh Tong <hugh.tong@mongodb.com>2023-05-15 15:28:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-15 18:00:33 +0000
commitb45d9b1215bedf4328bded55913475dd6b589e92 (patch)
treeae2f4299360c4b930fef4935535a95b99fb2e002 /src/mongo/db/pipeline/expression_context.h
parentf1ac91d1e2db63009bd9f41d068f09f009c024cf (diff)
downloadmongo-b45d9b1215bedf4328bded55913475dd6b589e92.tar.gz
SERVER-76634 Add SerializationContext object to ExpressionContext
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;