A simple wrapper of the class of MongoDB database mongoc_database_t.
More...
#include <db_mongoc.h>
Public Member Functions | |
| MongoDatabase (mongoc_database_t *db) | |
Constructor by a mongoc_database_t pointer. | |
| MongoDatabase (mongoc_client_t *conn, string &dbname) | |
Constructor by mongodb client (mongoc_client_t pointer) and database name. | |
| ~MongoDatabase () | |
| Destructor. | |
| void | GetCollectionNames (vector< string > &collnames) |
| Get collection names in current database. More... | |
A simple wrapper of the class of MongoDB database mongoc_database_t.
| void ccgl::db_mongoc::MongoDatabase::GetCollectionNames | ( | vector< string > & | collnames | ) |
Get collection names in current database.
| [in,out] | collnames | Collection names vector in current database |