diff options
author | Svilen Mihaylov <svilen.mihaylov@mongodb.com> | 2020-07-14 11:27:03 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-22 21:25:48 +0000 |
commit | 4f1d4c54ab1270dc61edd5931e0e77f524a7b989 (patch) | |
tree | b4d2255a77c24f373cf016ebe0b74e7f3659d59e /src/mongo/db/pipeline/document_source_match.cpp | |
parent | 19db8ebda506ddcd3f4e477fb9bd4228867e6ca3 (diff) | |
download | mongo-4f1d4c54ab1270dc61edd5931e0e77f524a7b989.tar.gz |
SERVER-48731 Inclusion of FLE support in the shell drags too much of the query system in
Diffstat (limited to 'src/mongo/db/pipeline/document_source_match.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_match.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_match.cpp b/src/mongo/db/pipeline/document_source_match.cpp index 7da9d5a3f3c..a8c2e8e31d6 100644 --- a/src/mongo/db/pipeline/document_source_match.cpp +++ b/src/mongo/db/pipeline/document_source_match.cpp @@ -474,6 +474,10 @@ intrusive_ptr<DocumentSource> DocumentSourceMatch::createFromBson( return DocumentSourceMatch::create(elem.Obj(), pExpCtx); } +bool DocumentSourceMatch::hasQuery() const { + return true; +} + BSONObj DocumentSourceMatch::getQuery() const { return _predicate; } |