#include <cSQLite.h>
|
virtual | ~cSQLiteStatement () |
|
virtual HRESULT | CloseStatement (bool bDrop) override |
|
virtual HRESULT | ExecuteAndFetch (bool bResultsExpected) override |
|
virtual void | ExecCancel () override |
|
virtual HRESULT | FetchNext (bool bMore=false) override |
|
virtual ITERATE_t | ReadColumnCount () override |
|
cSQLiteColumn | GetColumn (cSQLiteCol_t iColumn=0) const |
|
virtual bool | ReadColumnInfo (SQL_COLUMN_t iColumn, OUT cSQLColumnInfo &info) override |
|
virtual bool | GetColumnVar (SQL_COLUMN_t iColumn, cSQLColumnInfo *pColInfo, OUT cVariant &vValRet) override |
|
template<class T > |
HRESULT | Bind (SQL_COLUMN_t i, const T &value) |
|
HRESULT | BindBlob (SQL_COLUMN_t i, const void *value, int nSize) |
|
HRESULT | BindNull (SQL_COLUMN_t i) |
|
| IUNKNOWN_DISAMBIG (SUPER_t) |
|
virtual HRESULT | FillException (cSQLException *pException=nullptr) override |
|
| cSQLiteBase (::sqlite3 *pDB=nullptr) |
|
| IUNKNOWN_DISAMBIG (SUPER_t) |
|
| cRefBase (int iRefCount=0) noexcept |
|
virtual | ~cRefBase () |
|
int | get_RefCount () const noexcept |
|
HASHCODE_t | get_HashCode () const noexcept |
|
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept |
|
virtual void | onFinalRelease () |
|
bool | isValidObj () const noexcept |
|
| STDMETHOD_ (ULONG, AddRef)(void) override |
|
| STDMETHOD_ (ULONG, Release)(void) override |
|
STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
|
void | IncRefCount () |
|
void | DecRefCount () |
|
bool | isStaticConstruct () const noexcept |
|
void | StaticConstruct () |
|
void | StaticDestruct () |
|
bool | isDestructing () noexcept |
|
void | SetDestructing () |
|
◆ cSQLiteStatement()
GraySQLite::cSQLiteStatement::cSQLiteStatement |
( |
sqlite3 * |
pDb, |
|
|
const GChar_t * |
pszQueryStr |
|
) |
| |
|
protected |
◆ ~cSQLiteStatement()
GraySQLite::cSQLiteStatement::~cSQLiteStatement |
( |
| ) |
|
|
virtual |
◆ Bind()
◆ BindBlob()
HRESULT GraySQLite::cSQLiteStatement::BindBlob |
( |
SQL_COLUMN_t |
i, |
|
|
const void * |
value, |
|
|
int |
nSize |
|
) |
| |
|
inline |
◆ BindNull()
◆ CloseStatement()
HRESULT GraySQLite::cSQLiteStatement::CloseStatement |
( |
bool |
bDrop | ) |
|
|
overridevirtual |
ISQLStatement Alternate way to free m_pStmt.
◆ DoBind() [1/7]
◆ DoBind() [2/7]
◆ DoBind() [3/7]
◆ DoBind() [4/7]
HRESULT GraySQLite::cSQLiteStatement::DoBind |
( |
SQL_COLUMN_t |
i, |
|
|
const void * |
pValue, |
|
|
size_t |
nSize |
|
) |
| |
|
protected |
◆ DoBind() [5/7]
◆ DoBind() [6/7]
◆ DoBind() [7/7]
◆ ExecCancel()
void GraySQLite::cSQLiteStatement::ExecCancel |
( |
| ) |
|
|
overridevirtual |
◆ ExecuteAndFetch()
HRESULT GraySQLite::cSQLiteStatement::ExecuteAndFetch |
( |
bool |
bResultsExpected | ) |
|
|
overridevirtual |
◆ FetchNext()
HRESULT GraySQLite::cSQLiteStatement::FetchNext |
( |
bool |
bMore = false | ) |
|
|
overridevirtual |
ISQLStatement Fetch (more) results (if appropriate).
◆ FillException()
◆ GetColumn()
ASSUME sqlite3_step has been called. k_SQL_COL_FIRST
◆ GetColumnVar()
◆ IUNKNOWN_DISAMBIG()
GraySQLite::cSQLiteStatement::IUNKNOWN_DISAMBIG |
( |
SUPER_t |
| ) |
|
◆ ReadColumnCount()
ITERATE_t GraySQLite::cSQLiteStatement::ReadColumnCount |
( |
| ) |
|
|
overridevirtual |
ISQLStatement Get number of columns.
◆ ReadColumnInfo()
ISQLStatement Get meta data for column.
◆ ResetBind()
void GraySQLite::cSQLiteStatement::ResetBind |
( |
| ) |
|
|
protected |
◆ ResetBindCheck()
void GraySQLite::cSQLiteStatement::ResetBindCheck |
( |
| ) |
|
|
inlineprotected |
◆ cSQLiteDb
◆ m_bNeedResetBind
bool GraySQLite::cSQLiteStatement::m_bNeedResetBind |
|
protected |
sqlite3_step has been called. need to call sqlite3_reset to clear binds to reuse this statement.
◆ m_pStmt
The documentation for this class was generated from the following files: