#include <tdatabasecontext.h>
The TDatabaseContext class is the base class of contexts for database access.
◆ TDatabaseContext()
TDatabaseContext::TDatabaseContext |
( |
| ) |
|
◆ ~TDatabaseContext()
TDatabaseContext::~TDatabaseContext |
( |
| ) |
|
|
virtual |
◆ cache()
TCache * TDatabaseContext::cache |
( |
| ) |
|
◆ commitTransaction()
bool TDatabaseContext::commitTransaction |
( |
int |
id = 0 | ) |
|
◆ commitTransactions()
void TDatabaseContext::commitTransactions |
( |
| ) |
|
◆ currentDatabaseContext()
◆ getKvsDatabase()
TKvsDatabase & TDatabaseContext::getKvsDatabase |
( |
Tf::KvsEngine |
engine | ) |
|
◆ getSqlDatabase()
QSqlDatabase & TDatabaseContext::getSqlDatabase |
( |
int |
id = 0 | ) |
|
◆ idleTime()
int TDatabaseContext::idleTime |
( |
| ) |
const |
◆ release()
void TDatabaseContext::release |
( |
| ) |
|
◆ releaseKvsDatabases()
void TDatabaseContext::releaseKvsDatabases |
( |
| ) |
|
|
protected |
◆ releaseSqlDatabases()
void TDatabaseContext::releaseSqlDatabases |
( |
| ) |
|
|
protected |
◆ rollbackTransaction()
bool TDatabaseContext::rollbackTransaction |
( |
int |
id = 0 | ) |
|
◆ rollbackTransactions()
void TDatabaseContext::rollbackTransactions |
( |
| ) |
|
◆ setCurrentDatabaseContext()
◆ setTransactionEnabled()
void TDatabaseContext::setTransactionEnabled |
( |
bool |
enable, |
|
|
int |
id = 0 |
|
) |
| |
◆ kvsDatabases
QMap<int, TKvsDatabase> TDatabaseContext::kvsDatabases |
|
protected |
◆ sqlDatabases
QMap<int, TSqlTransaction> TDatabaseContext::sqlDatabases |
|
protected |
The documentation for this class was generated from the following files: