![]() |
TrinityCore
|
#include <Transaction.h>
Inheritance diagram for TransactionBase:Public Member Functions | |
| TransactionBase () | |
| virtual | ~TransactionBase () |
| void | Append (char const *sql) |
| template<typename... Args> | |
| void | PAppend (Trinity::FormatString< Args... > 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 |
Friends | |
| class | TransactionTask |
| class | MySQLConnection |
| template<typename T > | |
| class | DatabaseWorkerPool |
Transactions, high level class.
Definition at line 30 of file Transaction.h.
|
inline |
Definition at line 39 of file Transaction.h.
|
inlinevirtual |
Definition at line 40 of file Transaction.h.
| void TransactionBase::Append | ( | char const * | sql | ) |
Definition at line 32 of file Transaction.cpp.
References SQLElementData::element, m_queries, SQLElementUnion::query, SQL_ELEMENT_RAW, and SQLElementData::type.
|
protected |
Definition at line 41 of file Transaction.cpp.
Referenced by Transaction< T >::Append().
|
protected |
Definition at line 49 of file Transaction.cpp.
References _cleanedUp, m_queries, SQL_ELEMENT_PREPARED, and SQL_ELEMENT_RAW.
|
inline |
Definition at line 49 of file Transaction.h.
|
inline |
Definition at line 44 of file Transaction.h.
References Trinity::StringFormat().
|
friend |
Definition at line 36 of file Transaction.h.
|
friend |
Definition at line 33 of file Transaction.h.
|
friend |
Definition at line 32 of file Transaction.h.
|
private |
Definition at line 57 of file Transaction.h.
Referenced by Cleanup().
|
protected |
Definition at line 54 of file Transaction.h.
Referenced by Append(), Transaction< T >::Append(), and Cleanup().