TrinityCore
Loading...
Searching...
No Matches
PreparedStatementTask Class Reference

#include <PreparedStatement.h>

+ Inheritance diagram for PreparedStatementTask:

Public Member Functions

 PreparedStatementTask (PreparedStatementBase *stmt, bool async=false)
 
 ~PreparedStatementTask ()
 
bool Execute () override
 
PreparedQueryResultFuture GetFuture ()
 
- Public Member Functions inherited from SQLOperation
 SQLOperation ()
 
virtual ~SQLOperation ()
 
virtual int call ()
 
virtual void SetConnection (MySQLConnection *con)
 

Protected Attributes

PreparedStatementBasem_stmt
 
bool m_has_result
 
PreparedQueryResultPromisem_result
 

Additional Inherited Members

- Public Attributes inherited from SQLOperation
MySQLConnectionm_conn
 

Detailed Description

Definition at line 119 of file PreparedStatement.h.

Constructor & Destructor Documentation

◆ PreparedStatementTask()

PreparedStatementTask::PreparedStatementTask ( PreparedStatementBase stmt,
bool  async = false 
)

Definition at line 130 of file PreparedStatement.cpp.

◆ ~PreparedStatementTask()

PreparedStatementTask::~PreparedStatementTask ( )

Definition at line 138 of file PreparedStatement.cpp.

Member Function Documentation

◆ Execute()

bool PreparedStatementTask::Execute ( )
overridevirtual

Implements SQLOperation.

Definition at line 145 of file PreparedStatement.cpp.

+ Here is the call graph for this function:

◆ GetFuture()

PreparedQueryResultFuture PreparedStatementTask::GetFuture ( )
inline

Definition at line 126 of file PreparedStatement.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_has_result

bool PreparedStatementTask::m_has_result
protected

Definition at line 130 of file PreparedStatement.h.

◆ m_result

PreparedQueryResultPromise* PreparedStatementTask::m_result
protected

Definition at line 131 of file PreparedStatement.h.

◆ m_stmt

PreparedStatementBase* PreparedStatementTask::m_stmt
protected

Definition at line 129 of file PreparedStatement.h.


The documentation for this class was generated from the following files: