#include <MysqlPreparedStatement.h>
Inheritance diagram for MysqlPreparedStatement:

Public Member Functions | |
| MysqlPreparedStatement () | |
| MysqlPreparedStatement (MYSQL_STMT *pStatement) | |
| virtual | ~MysqlPreparedStatement () |
| virtual void | Close () |
| Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement). | |
| void | AddPreparedStatement (MYSQL_STMT *pStatement) |
| virtual void | SetParamInt (int nPosition, int nValue) |
| Set the parameter at the 1-based position to an int value. | |
| virtual void | SetParamDouble (int nPosition, double dblValue) |
| Set the parameter at the 1-based position to a double value. | |
| virtual void | SetParamString (int nPosition, const wxString &strValue) |
| Set the parameter at the 1-based position to a wxString value. | |
| virtual void | SetParamNull (int nPosition) |
| Set the parameter at the 1-based position to a NULL value. | |
| virtual void | SetParamBlob (int nPosition, const void *pData, long nDataLength) |
| Set the parameter at the 1-based position to a Blob value. | |
| virtual void | SetParamDate (int nPosition, const wxDateTime &dateValue) |
| Set the parameter at the 1-based position to a wxDateTime value. | |
| virtual void | SetParamBool (int nPosition, bool bValue) |
| Set the parameter at the 1-based position to a boolean value. | |
| virtual int | GetParameterCount () |
| virtual void | RunQuery () |
| Run an insert, update, or delete query on the database. | |
| virtual DatabaseResultSet * | RunQueryWithResults () |
| Run an insert, update, or delete query on the database. | |
|
|
Definition at line 5 of file MysqlPreparedStatement.cpp. |
|
|
Definition at line 11 of file MysqlPreparedStatement.cpp. References AddPreparedStatement(). |
|
|
Definition at line 17 of file MysqlPreparedStatement.cpp. References Close(). |
|
|
Definition at line 42 of file MysqlPreparedStatement.cpp. References DatabaseStringConverter::GetEncoding(), and DatabaseStringConverter::SetEncoding(). Referenced by MysqlPreparedStatement(), and MysqlDatabaseLayer::PrepareStatement(). |
|
|
Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement).
Implements PreparedStatement. Definition at line 23 of file MysqlPreparedStatement.cpp. References PreparedStatement::CloseResultSets(). Referenced by ~MysqlPreparedStatement(). |
|
|
Implements PreparedStatement. Definition at line 114 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::GetParameterCount(). |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 128 of file MysqlPreparedStatement.cpp. References DATABASE_LAYER_OK, MysqlPreparedStatementWrapper::RunQuery(), DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
|
Run an insert, update, or delete query on the database.
Implements PreparedStatement. Definition at line 147 of file MysqlPreparedStatement.cpp. References DATABASE_LAYER_OK, DatabaseErrorReporter::GetErrorCode(), DatabaseErrorReporter::GetErrorMessage(), PreparedStatement::LogResultSetForCleanup(), MysqlPreparedStatementWrapper::RunQuery(), MysqlPreparedStatementWrapper::RunQueryWithResults(), DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), and DatabaseErrorReporter::ThrowDatabaseException(). |
|
||||||||||||||||
|
Set the parameter at the 1-based position to a Blob value.
Implements PreparedStatement. Definition at line 87 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a boolean value.
Implements PreparedStatement. Definition at line 105 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxDateTime value.
Implements PreparedStatement. Definition at line 96 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a double value.
Implements PreparedStatement. Definition at line 60 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
||||||||||||
|
Set the parameter at the 1-based position to an int value.
Implements PreparedStatement. Definition at line 51 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
|
Set the parameter at the 1-based position to a NULL value.
Implements PreparedStatement. Definition at line 78 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxString value.
Implements PreparedStatement. Definition at line 69 of file MysqlPreparedStatement.cpp. References MysqlPreparedStatementWrapper::SetParam(). |
1.4.1