AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Transaction.h"
Public Member Functions | |
TransactionBase ()=default | |
virtual | ~TransactionBase () |
void | Append (std::string_view sql) |
template<typename... Args> | |
void | Append (std::string_view sql, Args &&... args) |
std::size_t | GetSize () const |
Protected Member Functions | |
void | AppendPreparedStatement (PreparedStatementBase *statement) |
void | Cleanup () |
Protected Attributes | |
std::vector< SQLElementData > | m_queries |
Private Attributes | |
bool | _cleanedUp {false} |
Friends | |
class | TransactionTask |
class | MySQLConnection |
template<typename T > | |
class | DatabaseWorkerPool |
Transactions, high level class.
|
default |
|
inlinevirtual |
void TransactionBase::Append | ( | std::string_view | sql | ) |
References SQLElementData::element, m_queries, SQL_ELEMENT_RAW, and SQLElementData::type.
|
inline |
References Acore::StringFormat().
|
protected |
Referenced by Transaction< T >::Append().
|
protected |
References _cleanedUp, ABORT, ASSERT, LOG_FATAL, m_queries, SQL_ELEMENT_PREPARED, and SQL_ELEMENT_RAW.
|
inline |
|
friend |
|
friend |
|
friend |
|
private |
Referenced by Cleanup().
|
protected |
Referenced by Append(), Transaction< T >::Append(), and Cleanup().