AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "QueryHolder.h"
Public Member Functions | |
SQLQueryHolderTask (std::shared_ptr< SQLQueryHolderBase > holder) | |
~SQLQueryHolderTask () | |
bool | Execute () override |
QueryResultHolderFuture | GetFuture () |
Public Member Functions inherited from SQLOperation | |
SQLOperation ()=default | |
virtual | ~SQLOperation ()=default |
virtual int | call () |
virtual bool | Execute ()=0 |
virtual void | SetConnection (MySQLConnection *con) |
Private Attributes | |
std::shared_ptr< SQLQueryHolderBase > | m_holder |
QueryResultHolderPromise | m_result |
Additional Inherited Members | |
Public Attributes inherited from SQLOperation | |
MySQLConnection * | m_conn {nullptr} |
|
inlineexplicit |
|
default |
|
overridevirtual |
execute all queries in the holder and pass the results
Implements SQLOperation.
References SQLOperation::m_conn, m_holder, m_result, and MySQLConnection::Query().
|
inline |
Referenced by DatabaseWorkerPool< T >::DelayQueryHolder().
|
private |
Referenced by Execute().
|
private |
Referenced by Execute().