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

Public Member Functions | |
| PreparedStatement () | |
| Constructor. | |
| virtual | ~PreparedStatement () |
| Destructor. | |
| virtual void | Close ()=0 |
| Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement). | |
| virtual void | SetParamInt (int nPosition, int nValue)=0 |
| Set the parameter at the 1-based position to an int value. | |
| virtual void | SetParamDouble (int nPosition, double dblValue)=0 |
| Set the parameter at the 1-based position to a double value. | |
| virtual void | SetParamString (int nPosition, const wxString &strValue)=0 |
| Set the parameter at the 1-based position to a wxString value. | |
| virtual void | SetParamNull (int nPosition)=0 |
| Set the parameter at the 1-based position to a NULL value. | |
| virtual void | SetParamBlob (int nPosition, const void *pData, long nDataLength)=0 |
| Set the parameter at the 1-based position to a Blob value. | |
| virtual void | SetParamDate (int nPosition, const wxDateTime &dateValue)=0 |
| Set the parameter at the 1-based position to a wxDateTime value. | |
| virtual void | SetParamBool (int nPosition, bool bValue)=0 |
| Set the parameter at the 1-based position to a boolean value. | |
| virtual int | GetParameterCount ()=0 |
| virtual void | RunQuery ()=0 |
| Run an insert, update, or delete query on the database. | |
| virtual DatabaseResultSet * | RunQueryWithResults ()=0 |
| Run an insert, update, or delete query on the database. | |
| void | ExecuteUpdate () |
| See RunQuery. | |
| DatabaseResultSet * | ExecuteQuery () |
| See RunQueryWithResults. | |
| virtual bool | CloseResultSet (DatabaseResultSet *pResultSet) |
| Close a result set returned by the database or a prepared statement previously. | |
Protected Member Functions | |
| void | CloseResultSets () |
| Close all result set objects that have been generated but not yet closed. | |
| void | LogResultSetForCleanup (DatabaseResultSet *pResultSet) |
| Add result set object pointer to the list for "garbage collection". | |
|
|
Constructor.
Definition at line 4 of file PreparedStatement.cpp. |
|
|
Destructor.
Definition at line 10 of file PreparedStatement.cpp. References CloseResultSets(). |
|
|
Close the result set (call DatabaseLayer::ClosePreparedStatement() instead on the statement).
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
|
Close a result set returned by the database or a prepared statement previously.
Definition at line 30 of file PreparedStatement.cpp. Referenced by DatabaseLayer::CloseResultSet(). |
|
|
Close all result set objects that have been generated but not yet closed.
Definition at line 16 of file PreparedStatement.cpp. Referenced by SqlitePreparedStatement::Close(), PostgresPreparedStatement::Close(), OdbcPreparedStatement::Close(), MysqlPreparedStatement::Close(), FirebirdPreparedStatement::Close(), and ~PreparedStatement(). |
|
|
See RunQueryWithResults.
Definition at line 63 of file PreparedStatement.h. References RunQueryWithResults(). |
|
|
See RunQuery.
Definition at line 61 of file PreparedStatement.h. References RunQuery(). |
|
|
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
|
Add result set object pointer to the list for "garbage collection".
Definition at line 72 of file PreparedStatement.h. Referenced by SqlitePreparedStatement::RunQueryWithResults(), PostgresPreparedStatement::RunQueryWithResults(), OdbcPreparedStatement::RunQueryWithResults(), MysqlPreparedStatement::RunQueryWithResults(), and FirebirdPreparedStatement::RunQueryWithResults(). |
|
|
Run an insert, update, or delete query on the database.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. Referenced by ExecuteUpdate(). |
|
|
Run an insert, update, or delete query on the database.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. Referenced by ExecuteQuery(). |
|
||||||||||||||||
|
Set the parameter at the 1-based position to a Blob value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
||||||||||||
|
Set the parameter at the 1-based position to a boolean value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxDateTime value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
||||||||||||
|
Set the parameter at the 1-based position to a double value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
||||||||||||
|
Set the parameter at the 1-based position to an int value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
|
Set the parameter at the 1-based position to a NULL value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
|
||||||||||||
|
Set the parameter at the 1-based position to a wxString value.
Implemented in FirebirdPreparedStatement, MysqlPreparedStatement, OdbcPreparedStatement, OraclePreparedStatement, PostgresPreparedStatement, and SqlitePreparedStatement. |
1.4.1