|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <AdhocStatement.h>
Public Member Functions | |
| BasicStatementTask (const char *sql) | |
| BasicStatementTask (const char *sql, QueryResultFuture result) | |
| bool | Execute () |
| ~BasicStatementTask () | |
| Public Member Functions inherited from SQLOperation | |
| virtual int | call () |
| virtual void | SetConnection (MySQLConnection *con) |
| SQLOperation () | |
| virtual | ~SQLOperation () |
Private Attributes | |
| bool | m_has_result |
| QueryResultFuture | m_result |
| const char * | m_sql |
Additional Inherited Members | |
| Public Attributes inherited from SQLOperation | |
| MySQLConnection * | m_conn |
Raw, ad-hoc query.
Definition at line 14 of file AdhocStatement.h.
| BasicStatementTask::BasicStatementTask | ( | const char * | sql | ) |
Basic, ad-hoc queries.
Definition at line 10 of file AdhocStatement.cpp.
References m_has_result, and m_sql.
| BasicStatementTask::BasicStatementTask | ( | const char * | sql, |
| QueryResultFuture | result ) |
Definition at line 16 of file AdhocStatement.cpp.
References m_has_result, m_result, and m_sql.
| BasicStatementTask::~BasicStatementTask | ( | ) |
Definition at line 23 of file AdhocStatement.cpp.
References m_sql.
|
virtual |
Implements SQLOperation.
Definition at line 28 of file AdhocStatement.cpp.
References ResultSet::GetRowCount(), SQLOperation::m_conn, m_has_result, m_result, m_sql, and ResultSet::NextRow().
|
private |
Definition at line 25 of file AdhocStatement.h.
Referenced by BasicStatementTask(), BasicStatementTask(), and Execute().
|
private |
Definition at line 26 of file AdhocStatement.h.
Referenced by BasicStatementTask(), and Execute().
|
private |
Definition at line 24 of file AdhocStatement.h.
Referenced by BasicStatementTask(), BasicStatementTask(), Execute(), and ~BasicStatementTask().