1 #ifndef _WX_DATABASE_PREPARED_STATEMENT_H_ 2 #define _WX_DATABASE_PREPARED_STATEMENT_H_ 18 virtual void Close() = 0;
22 virtual void SetParamInt(
int nPosition,
int nValue) = 0;
24 virtual void SetParamDouble(
int nPosition,
double dblValue) = 0;
26 virtual void SetParamString(
int nPosition,
const wxString& strValue) = 0;
28 virtual void SetParamNull(
int nPosition) = 0;
30 virtual void SetParamBlob(
int nPosition,
const wxMemoryBuffer& buffer);
32 virtual void SetParamBlob(
int nPosition,
const void* pData,
long nDataLength) = 0;
34 virtual void SetParamDate(
int nPosition,
const wxDateTime& dateValue) = 0;
36 virtual void SetParamBool(
int nPosition,
bool bValue) = 0;
37 virtual int GetParameterCount() = 0;
40 virtual int RunQuery() = 0;
56 void CloseResultSets();
64 #endif//_WX_DATABASE_PREPARED_STATEMENT_H_
wxDatabaseResultSet * ExecuteQuery()
See RunQueryWithResults.
void LogResultSetForCleanup(wxDatabaseResultSet *pResultSet)
Add result set object pointer to the list for "garbage collection".
WX_DECLARE_HASH_SET(wxDatabaseResultSet *, wxPointerHash, wxPointerEqual, StatementResultSetHashSet)
StatementResultSetHashSet m_ResultSets
#define WXDLLIMPEXP_DATABASE
int ExecuteUpdate()
See RunQuery.