mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
Database::count() can parse different types of 'n' attribute in result.
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
virtual ~Database();
|
||||
/// Destructor
|
||||
|
||||
int count(Connection& connection, const std::string& collectionName) const;
|
||||
Int64 count(Connection& connection, const std::string& collectionName) const;
|
||||
/// Sends a count request for the given collection to MongoDB. When
|
||||
/// the command fails, -1 is returned.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user