![]() |
SDK
2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
|
A database. More...
#include <Database.h>
Public Member Functions | |
std::string | name () const |
The database name. More... | |
cbe::DatabaseId | databaseId () const |
The databaseId number. More... | |
cbe::ContainerId | containerId () const |
The containerId number. More... | |
cbe::UserId | ownerId () const |
The userId number of the owner. More... | |
cbe::Date | created () const |
Timestamp of when it was created. More... | |
bool | readLocked () const |
Checks if it has a read lock. More... | |
bool | writeLocked () const |
Checks if it has a write lock. More... | |
cbe::Container | rootContainer () const |
The top container of the database. More... | |
Database (cbe::DefaultCtor) | |
operator bool () const | |
A database.
cbe::ContainerId cbe::Database::containerId | ( | ) | const |
cbe::Date cbe::Database::created | ( | ) | const |
cbe::DatabaseId cbe::Database::databaseId | ( | ) | const |
The databaseId number.
std::string cbe::Database::name | ( | ) | const |
The database name.
cbe::UserId cbe::Database::ownerId | ( | ) | const |
The userId number of the owner.
bool cbe::Database::readLocked | ( | ) | const |
Checks if it has a read lock.
cbe::Container cbe::Database::rootContainer | ( | ) | const |
bool cbe::Database::writeLocked | ( | ) | const |
Checks if it has a write lock.