#include "ModuleDatabase.h"
|
| ModuleDatabaseConnection (MySQLConnectionInfo &connInfo) |
|
| ModuleDatabaseConnection (ProducerConsumerQueue< SQLOperation * > *q, MySQLConnectionInfo &connInfo) |
|
| ~ModuleDatabaseConnection () override |
|
void | DoPrepareStatements () override |
|
| MySQLConnection (MySQLConnectionInfo &connInfo) |
|
| MySQLConnection (ProducerConsumerQueue< SQLOperation * > *queue, MySQLConnectionInfo &connInfo) |
| Constructor for synchronous connections.
|
|
virtual | ~MySQLConnection () |
| Constructor for asynchronous connections.
|
|
virtual uint32 | Open () |
|
void | Close () |
|
bool | PrepareStatements () |
|
bool | Execute (std::string_view sql) |
|
bool | Execute (PreparedStatementBase *stmt) |
|
ResultSet * | Query (std::string_view sql) |
|
PreparedResultSet * | Query (PreparedStatementBase *stmt) |
|
bool | _Query (std::string_view sql, MySQLResult **pResult, MySQLField **pFields, uint64 *pRowCount, uint32 *pFieldCount) |
|
bool | _Query (PreparedStatementBase *stmt, MySQLPreparedStatement **mysqlStmt, MySQLResult **pResult, uint64 *pRowCount, uint32 *pFieldCount) |
|
void | BeginTransaction () |
|
void | RollbackTransaction () |
|
void | CommitTransaction () |
|
int | ExecuteTransaction (std::shared_ptr< TransactionBase > transaction) |
|
size_t | EscapeString (char *to, const char *from, size_t length) |
|
void | Ping () |
|
uint32 | GetLastError () |
|
◆ Statements
◆ ModuleDatabaseConnection() [1/2]
28{
29}
Definition: MySQLConnection.h:56
◆ ModuleDatabaseConnection() [2/2]
◆ ~ModuleDatabaseConnection()
ModuleDatabaseConnection::~ModuleDatabaseConnection |
( |
| ) |
|
|
override |
◆ DoPrepareStatements()
void ModuleDatabaseConnection::DoPrepareStatements |
( |
| ) |
|
|
overridevirtual |