summaryrefslogtreecommitdiff
path: root/db/query.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-10-21 16:13:48 -0400
committerDwight <dmerriman@gmail.com>2008-10-21 16:13:48 -0400
commit0aef80f8cc9607db79fbc491d46b054f7504e205 (patch)
tree1de5c3c48744da179fc6996155e9dbc7224ad97c /db/query.h
parentb6a466b6194e07e5d5fe8df422fd0ceeaa1e7726 (diff)
downloadmongo-0aef80f8cc9607db79fbc491d46b054f7504e205.tar.gz
rename classes
Diffstat (limited to 'db/query.h')
-rw-r--r--db/query.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/query.h b/db/query.h
index 78365c8b212..1e0343f8f90 100644
--- a/db/query.h
+++ b/db/query.h
@@ -89,11 +89,11 @@ QueryResult* getMore(const char *ns, int ntoreturn, long long cursorid);
// caller must free() returned QueryResult.
QueryResult* runQuery(Message&, const char *ns, int ntoskip, int ntoreturn,
- JSObj j, auto_ptr< set<string> > fieldFilter,
+ BSONObj j, auto_ptr< set<string> > fieldFilter,
stringstream&, int queryOptions);
-void updateObjects(const char *ns, JSObj updateobj, JSObj pattern, bool upsert, stringstream& ss);
+void updateObjects(const char *ns, BSONObj updateobj, BSONObj pattern, bool upsert, stringstream& ss);
-int deleteObjects(const char *ns, JSObj pattern, bool justOne, bool god=false);
+int deleteObjects(const char *ns, BSONObj pattern, bool justOne, bool god=false);
#include "clientcursor.h"