diff options
author | Ben Becker <ben.becker@10gen.com> | 2012-06-14 22:43:20 -0700 |
---|---|---|
committer | Ben Becker <ben.becker@10gen.com> | 2012-06-14 22:43:20 -0700 |
commit | fb66c84bc7bc1ece63a65766bfea2f797f3b7121 (patch) | |
tree | 10fa3f0e5dde4c9e11a0dd1c84ac729010a33284 /src/mongo/db/clientcursor.h | |
parent | b62ea5f5eb0107fe3f50275dda6ee5ffd05be1bb (diff) | |
download | mongo-fb66c84bc7bc1ece63a65766bfea2f797f3b7121.tar.gz |
SERVER-828: implement positional operator ($) and for query projections
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 328a6522f89..595a9d775a4 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -286,9 +286,9 @@ namespace mongo { * NOTE: copied from BSONObj::extractFields */ BSONObj extractFields(const BSONObj &pattern , bool fillWithNull = false) ; - - void fillQueryResultFromObj( BufBuilder &b ) const; - + + void fillQueryResultFromObj( BufBuilder &b, const MatchDetails* details = NULL ) const; + bool currentIsDup() { return _c->getsetdup( _c->currLoc() ); } bool currentMatches() { |