summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-02-11 09:36:43 -0500
committerDavid Storch <david.storch@10gen.com>2015-02-11 09:36:43 -0500
commit0d4ce9adab40ded66dcce4f417ae4d3cf97a11f5 (patch)
tree22402a97acfcb98eb408b3ff4c96581269a8fd4f /src/mongo/db/dbdirectclient.h
parent47eafb2a05f902ffd9df5324a4c3490eaa581842 (diff)
downloadmongo-0d4ce9adab40ded66dcce4f417ae4d3cf97a11f5.tar.gz
Revert "SERVER-17051 remove runCount() function"
This reverts commit 40e5c7f39b967411bba4733c445f408f906a26b5.
Diffstat (limited to 'src/mongo/db/dbdirectclient.h')
-rw-r--r--src/mongo/db/dbdirectclient.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/dbdirectclient.h b/src/mongo/db/dbdirectclient.h
index 8dfffda71a9..0a8b5122dd0 100644
--- a/src/mongo/db/dbdirectclient.h
+++ b/src/mongo/db/dbdirectclient.h
@@ -88,7 +88,13 @@ namespace mongo {
virtual void killCursor(long long cursorID);
virtual bool callRead(Message& toSend, Message& response);
-
+
+ virtual unsigned long long count(const std::string &ns,
+ const BSONObj& query = BSONObj(),
+ int options = 0,
+ int limit = 0,
+ int skip = 0);
+
virtual ConnectionString::ConnectionType type() const;
double getSoTimeout() const;