diff options
author | Matthew Russotto <matthew.russotto@mongodb.com> | 2019-10-16 15:32:39 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-16 15:32:39 +0000 |
commit | 9bee42b1be57065f6ef963e6aa535a66a39e04f2 (patch) | |
tree | 34d6a406041d571156c3cbe9c3c03a31ffb4841e /src/mongo/client/dbclient_base.h | |
parent | 08d2e61fd16a1e80c35e69176fed61717e1fea1e (diff) | |
download | mongo-9bee42b1be57065f6ef963e6aa535a66a39e04f2.tar.gz |
SERVER-44021 Make type of "count" command in DBClient_Base match server.
Diffstat (limited to 'src/mongo/client/dbclient_base.h')
-rw-r--r-- | src/mongo/client/dbclient_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/client/dbclient_base.h b/src/mongo/client/dbclient_base.h index 194210f8a24..13d0d50cc99 100644 --- a/src/mongo/client/dbclient_base.h +++ b/src/mongo/client/dbclient_base.h @@ -351,11 +351,11 @@ public: /** count number of objects in collection ns that match the query criteria specified throws UserAssertion if database returns an error */ - virtual unsigned long long count(NamespaceStringOrUUID nsOrUuid, - const BSONObj& query = BSONObj(), - int options = 0, - int limit = 0, - int skip = 0); + virtual long long count(NamespaceStringOrUUID nsOrUuid, + const BSONObj& query = BSONObj(), + int options = 0, + int limit = 0, + int skip = 0); static std::string createPasswordDigest(const std::string& username, const std::string& clearTextPassword); |