diff options
author | Dan Pasette <dan@mongodb.com> | 2017-07-11 18:57:54 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2017-07-11 18:57:54 -0400 |
commit | 99a0dfa12c700fe5ec4fd2170f17de37b24e9d55 (patch) | |
tree | 188f1111f05bf73f2248f4cfc6f7dc0c548a133c /src/mongo/db/pipeline/expression.h | |
parent | 0ebecb306cf68009f01ccde363debfff3b268a9a (diff) | |
download | mongo-99a0dfa12c700fe5ec4fd2170f17de37b24e9d55.tar.gz |
Revert "SERVER-29208 Add the $dateFromString aggregation operator"
This reverts commit b8de37d364fcde0ed2c93cdf8f5ed0001663e372.
Diffstat (limited to 'src/mongo/db/pipeline/expression.h')
-rw-r--r-- | src/mongo/db/pipeline/expression.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/db/pipeline/expression.h b/src/mongo/db/pipeline/expression.h index c7889305aa0..aad2ced9b55 100644 --- a/src/mongo/db/pipeline/expression.h +++ b/src/mongo/db/pipeline/expression.h @@ -828,25 +828,6 @@ private: typedef ExpressionFixedArity<ExpressionCond, 3> Base; }; -class ExpressionDateFromString final : public Expression { -public: - boost::intrusive_ptr<Expression> optimize() final; - Value serialize(bool explain) const final; - Value evaluate(const Document&) const final; - void addDependencies(DepsTracker*) const final; - - static boost::intrusive_ptr<Expression> parse( - const boost::intrusive_ptr<ExpressionContext>& expCtx, - BSONElement expr, - const VariablesParseState& vps); - -private: - ExpressionDateFromString(const boost::intrusive_ptr<ExpressionContext>& expCtx, - boost::intrusive_ptr<Expression> dateString); - - boost::intrusive_ptr<Expression> _dateString; -}; - class ExpressionDateFromParts final : public Expression { public: boost::intrusive_ptr<Expression> optimize() final; |