Workspace 6.21.5
Public Member Functions | List of all members
Database Class Reference

Wrapper of mongoc_database_t.

#include <Distributed/mongocxx.h>

Public Member Functions

 Database (Client &client, const QString &databaseName)
 
 ~Database ()
 
bool collectionExists (const QString &collectionName) const
 
mongoc_database_t * get ()
 
const mongoc_database_t * get () const
 
const QString & getDatabaseName () const
 

Constructor & Destructor Documentation

◆ Database()

Database ( Client client,
const QString &  databaseName 
)

◆ ~Database()

~Database ( )
inline

Member Function Documentation

◆ collectionExists()

bool collectionExists ( const QString &  collectionName) const

◆ get() [1/2]

mongoc_database_t * get ( )
inline

◆ get() [2/2]

const mongoc_database_t * get ( ) const
inline

◆ getDatabaseName()

const QString & getDatabaseName ( ) const
inline