ccgl::db_mongoc::MongoCollection Class Reference

A simple wrapper of the class of MongoDB Collection mongoc_collection_t. More...

#include <db_mongoc.h>

Public Member Functions

 MongoCollection (mongoc_collection_t *coll)
 Constructor by a mongoc_collection_t pointer.
 
 ~MongoCollection ()
 Destructor.
 
mongoc_cursor_t * ExecuteQuery (const bson_t *b, const bson_t *opts=nullptr)
 Execute query.
 
vint QueryRecordsCount ()
 Query the records number.
 

Detailed Description

A simple wrapper of the class of MongoDB Collection mongoc_collection_t.


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