diff options
author | Jacob Evans <jacob.evans@10gen.com> | 2020-08-04 11:16:57 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-10 22:23:46 +0000 |
commit | 4ca0dd7e041274d4ce7b87cf2f6494e6da30eaf0 (patch) | |
tree | de11bba03a46ebd28975c52e3f9c1c5259cbe701 /src/mongo/db/cst/cst_literals_test.cpp | |
parent | 16f480f6ff1ddae39d8e45b68a3c7bb31a780752 (diff) | |
download | mongo-4ca0dd7e041274d4ce7b87cf2f6494e6da30eaf0.tar.gz |
SERVER-48795 Initial framework for adding $project to grammar
Diffstat (limited to 'src/mongo/db/cst/cst_literals_test.cpp')
-rw-r--r-- | src/mongo/db/cst/cst_literals_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/cst/cst_literals_test.cpp b/src/mongo/db/cst/cst_literals_test.cpp index e4fbe0724a2..50fbf16c9d0 100644 --- a/src/mongo/db/cst/cst_literals_test.cpp +++ b/src/mongo/db/cst/cst_literals_test.cpp @@ -57,7 +57,7 @@ auto getExpCtx() { auto makePipelineContainingProjectStageWithLiteral(CNode&& literal) { return CNode{CNode::ArrayChildren{CNode{CNode::ObjectChildren{ - {KeyFieldname::project, + {KeyFieldname::projectInclusion, CNode{CNode::ObjectChildren{ {UserFieldname{"a"}, CNode{CNode::ObjectChildren{{KeyFieldname::literal, std::move(literal)}}}}}}}}}}}; |