summaryrefslogtreecommitdiff
path: root/db/query.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-01-30 13:13:49 -0500
committerDwight <dmerriman@gmail.com>2009-01-30 13:13:49 -0500
commit6e4efe880ac5457dc7d252e1d0b31f35e794c336 (patch)
tree7042c92733445cdc91a64d1a6d7140b458cf2cf4 /db/query.h
parent1ec09421ed305dbf247fd68f248f69aaf1d1351e (diff)
downloadmongo-6e4efe880ac5457dc7d252e1d0b31f35e794c336.tar.gz
$hint takes keypattern objects now
Diffstat (limited to 'db/query.h')
-rw-r--r--db/query.h2
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);