AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "PreparedStatement.h"
Public Member Functions | |
PreparedStatementTask (PreparedStatementBase *stmt, bool async=false) | |
~PreparedStatementTask () override | |
bool | Execute () override |
PreparedQueryResultFuture | GetFuture () |
Public Member Functions inherited from SQLOperation | |
SQLOperation ()=default | |
virtual | ~SQLOperation ()=default |
virtual int | call () |
virtual bool | Execute ()=0 |
virtual void | SetConnection (MySQLConnection *con) |
Protected Attributes | |
PreparedStatementBase * | m_stmt |
bool | m_has_result |
PreparedQueryResultPromise * | m_result |
Additional Inherited Members | |
Public Attributes inherited from SQLOperation | |
MySQLConnection * | m_conn {nullptr} |
PreparedStatementTask::PreparedStatementTask | ( | PreparedStatementBase * | stmt, |
bool | async = false |
||
) |
References m_has_result, and m_result.
|
override |
References m_has_result, m_result, and m_stmt.
|
overridevirtual |
Implements SQLOperation.
References MySQLConnection::Execute(), PreparedResultSet::GetRowCount(), SQLOperation::m_conn, m_has_result, m_result, m_stmt, and MySQLConnection::Query().
|
inline |
Referenced by DatabaseWorkerPool< T >::AsyncQuery().
|
protected |
Referenced by Execute(), PreparedStatementTask(), and ~PreparedStatementTask().
|
protected |
Referenced by Execute(), PreparedStatementTask(), and ~PreparedStatementTask().
|
protected |
Referenced by Execute(), and ~PreparedStatementTask().