ccgl::db_mongoc::MongoDatabase Class Reference

A simple wrapper of the class of MongoDB database mongoc_database_t. More...

#include <db_mongoc.h>

Inheritance diagram for ccgl::db_mongoc::MongoDatabase:
ccgl::NotCopyable

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.
 

Detailed Description

A simple wrapper of the class of MongoDB database mongoc_database_t.


The documentation for this class was generated from the following file: