summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_parser.h
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2017-09-09 11:38:46 -0400
committerJames Wahlin <james@mongodb.com>2017-09-10 20:16:34 -0400
commitd0f5e2b103a5f78967c460533f4f8850f02facd6 (patch)
tree285e0bf71e74d114c2255534f8a17e69cf7c1f0a /src/mongo/db/matcher/expression_parser.h
parent820abe30691f09011183b63ab63cb1e9c43f3d9e (diff)
downloadmongo-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.h4
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,