diff options
author | James Wahlin <james@mongodb.com> | 2017-09-09 11:38:46 -0400 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2017-09-10 20:16:34 -0400 |
commit | d0f5e2b103a5f78967c460533f4f8850f02facd6 (patch) | |
tree | 285e0bf71e74d114c2255534f8a17e69cf7c1f0a /src/mongo/db/matcher/expression_parser.h | |
parent | 820abe30691f09011183b63ab63cb1e9c43f3d9e (diff) | |
download | mongo-d0f5e2b103a5f78967c460533f4f8850f02facd6.tar.gz |
SERVER-30951 Add top-level $expr to MatchExpression
Diffstat (limited to 'src/mongo/db/matcher/expression_parser.h')
-rw-r--r-- | src/mongo/db/matcher/expression_parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression_parser.h b/src/mongo/db/matcher/expression_parser.h index dc7b5041517..f69eafbff12 100644 --- a/src/mongo/db/matcher/expression_parser.h +++ b/src/mongo/db/matcher/expression_parser.h @@ -250,6 +250,10 @@ private: const BSONObj& section, AllowedFeatureSet allowedFeatures); + StatusWithMatchExpression _parseExpr(BSONElement elem, + AllowedFeatureSet allowedFeatures, + const boost::intrusive_ptr<ExpressionContext>& expCtx); + // arrays StatusWithMatchExpression _parseElemMatch(const char* name, |