diff options
Diffstat (limited to 'src/mongo/db/matcher/expression.cpp')
-rw-r--r-- | src/mongo/db/matcher/expression.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression.cpp b/src/mongo/db/matcher/expression.cpp index 35e32c447a1..46c1546ef5a 100644 --- a/src/mongo/db/matcher/expression.cpp +++ b/src/mongo/db/matcher/expression.cpp @@ -62,11 +62,19 @@ namespace mongo { debug << "$atomic\n"; } + void AtomicMatchExpression::toBSON(BSONObjBuilder* out) const { + out->append("$isolated", 1); + } + void FalseMatchExpression::debugString( StringBuilder& debug, int level ) const { _debugAddSpace( debug, level ); debug << "$false\n"; } + void FalseMatchExpression::toBSON(BSONObjBuilder* out) const { + out->append("$false", 1); + } + } |