#include <SQLiteConnection.h>
Public Types | |
enum | SqlStatus { SqlError = 0 , SqlOK , SqlDone } |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (Statement, AZ::SystemAllocator) | |
Statement (StatementPrototype *parent) | |
SqlStatus | Step () |
void | Finalize () |
bool | Prepared () const |
bool | PrepareFirstTime (sqlite3 *db) |
bool | Reset () |
int | FindColumn (const char *name) |
AZStd::string | GetColumnText (int col) |
int | GetColumnInt (int col) |
double | GetColumnDouble (int col) |
const void * | GetColumnBlob (int col) |
int | GetColumnBlobBytes (int col) |
AZ::s64 | GetColumnInt64 (int col) |
AZ::Uuid | GetColumnUuid (int col) |
bool | BindValueUuid (int col, const AZ::Uuid &data) |
bool | BindValuePathOrUuid (int col, const AssetDatabase::PathOrUuid &data) |
bool | BindValueBlob (int col, void *data, int dataSize) |
bool | BindValueDouble (int col, double data) |
bool | BindValueInt (int col, int data) |
bool | BindValueText (int idx, const char *data) |
bool | BindValueInt64 (int idx, AZ::s64 data) |
int | GetNamedParamIdx (const char *name) |
returns zero if it does not find the named index. | |
const StatementPrototype * | GetParentPrototype () const |
A statement is a live, working-right now statement (or a cached one) which you are currently executing. All binding is by reference, so you must not destroy the bound objects before executing the statement.