diff options
author | David Storch <david.storch@10gen.com> | 2015-02-11 09:36:43 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-02-11 09:36:43 -0500 |
commit | 0d4ce9adab40ded66dcce4f417ae4d3cf97a11f5 (patch) | |
tree | 22402a97acfcb98eb408b3ff4c96581269a8fd4f /src/mongo/db/dbdirectclient.h | |
parent | 47eafb2a05f902ffd9df5324a4c3490eaa581842 (diff) | |
download | mongo-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.h | 8 |
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; |