diff options
Diffstat (limited to 'src/mongo/db/matcher/extensions_callback.h')
-rw-r--r-- | src/mongo/db/matcher/extensions_callback.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/extensions_callback.h b/src/mongo/db/matcher/extensions_callback.h index 17b1583e181..8bef3703234 100644 --- a/src/mongo/db/matcher/extensions_callback.h +++ b/src/mongo/db/matcher/extensions_callback.h @@ -32,6 +32,7 @@ #include "mongo/db/matcher/expression.h" #include "mongo/db/matcher/expression_text_base.h" #include "mongo/db/matcher/expression_where_base.h" +#include "mongo/db/pipeline/expression_context.h" namespace mongo { @@ -45,7 +46,8 @@ public: virtual StatusWithMatchExpression parseText(BSONElement text) const = 0; - virtual StatusWithMatchExpression parseWhere(BSONElement where) const = 0; + virtual StatusWithMatchExpression parseWhere( + const boost::intrusive_ptr<ExpressionContext>& expCtx, BSONElement where) const = 0; /** * Returns true if extensions (e.g. $text and $where) are allowed but are converted into no-ops. |