Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::SQLite::Statement Class Reference

#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
 

Detailed Description

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.


The documentation for this class was generated from the following file: