diff options
author | Dwight <dmerriman@gmail.com> | 2009-01-30 13:13:49 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-01-30 13:13:49 -0500 |
commit | 6e4efe880ac5457dc7d252e1d0b31f35e794c336 (patch) | |
tree | 7042c92733445cdc91a64d1a6d7140b458cf2cf4 /db/query.h | |
parent | 1ec09421ed305dbf247fd68f248f69aaf1d1351e (diff) | |
download | mongo-6e4efe880ac5457dc7d252e1d0b31f35e794c336.tar.gz |
$hint takes keypattern objects now
Diffstat (limited to 'db/query.h')
-rw-r--r-- | db/query.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/query.h b/db/query.h index ee549860837..1b86af214a6 100644 --- a/db/query.h +++ b/db/query.h @@ -82,7 +82,7 @@ namespace mongo { int deleteObjects(const char *ns, BSONObj pattern, bool justOne, BSONObj *deletedId = 0, bool god=false); class Cursor; - auto_ptr<Cursor> getIndexCursor(const char *ns, const BSONObj& query, const BSONObj& order, bool *simpleKeyMatch = 0, bool *isSorted = 0, string *hint = 0); + auto_ptr<Cursor> getIndexCursor(const char *ns, const BSONObj& query, const BSONObj& order, bool *simpleKeyMatch = 0, bool *isSorted = 0, BSONElement *hint = 0); int runCount(const char *ns, BSONObj& cmd, string& err); |