Navigation
API > API/Plugins > API/Plugins/SQLiteCore
Wrapper around an SQLite prepared statement.
| Name | FSQLitePreparedStatement |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Database/SQLiteCore/Source/SQLiteCore/Public/SQLitePreparedStatement.h |
| Include Path | #include "SQLitePreparedStatement.h" |
Syntax
class FSQLitePreparedStatement
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSQLitePreparedStatement
(
const FSQLitePreparedStatement& |
Non-copyable | SQLitePreparedStatement.h | |
FSQLitePreparedStatement
(
FSQLiteDatabase& InDatabase, |
SQLitePreparedStatement.h | ||
FSQLitePreparedStatement
(
FSQLitePreparedStatement&& Other |
Movable | SQLitePreparedStatement.h | |
| Construction/Destruction | SQLitePreparedStatement.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSQLitePreparedStatement() |
SQLitePreparedStatement.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedColumnNames | TArray< FString > | Cached array of column names (generated on-demand when needed by the API) | SQLitePreparedStatement.h | |
| Statement | sqlite3_stmt * | Internal SQLite prepared statement handle | SQLitePreparedStatement.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearBindings() |
Clear any bindings that have been applied to this prepared statement. | SQLitePreparedStatement.h | |
bool Create
(
FSQLiteDatabase& InDatabase, |
Create a new SQLite prepared statement. | SQLitePreparedStatement.h | |
bool Destroy() |
Destroy the existing SQLite prepared statement. | SQLitePreparedStatement.h | |
int64 Execute
(
TFunctionRef< ESQLitePreparedStatementExecuteRowResult(const FSQLitePreparedStatement&)> InCallback |
Execute a statement and enumerate the result state. | SQLitePreparedStatement.h | |
bool Execute () |
Execute a statement that requires no result state. | SQLitePreparedStatement.h | |
int32 GetBindingIndexByName
(
const TCHAR* InBindingName |
Get the index of a given binding from its name. | SQLitePreparedStatement.h | |
int32 GetColumnIndexByName
(
const TCHAR* InColumnName |
Get the index of a column from its name. | SQLitePreparedStatement.h | |
| Get the column names affected by this statement. | SQLitePreparedStatement.h | ||
bool GetColumnTypeByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnTypeByName
(
const TCHAR* InColumnName, |
Get the type of a column from its name or index. | SQLitePreparedStatement.h | |
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByIndex
(
const int32 InColumnIndex, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
Get the float value of a column from its name or index. | SQLitePreparedStatement.h | |
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
Get the string value of a column from its name or index. | SQLitePreparedStatement.h | |
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
Get the blob value of a column from its name or index. | SQLitePreparedStatement.h | |
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
Get the integer value of a column from its name or index. | SQLitePreparedStatement.h | |
bool GetColumnValueByName
(
const TCHAR* InColumnName, |
SQLitePreparedStatement.h | ||
bool IsActive() |
Is this SQLite prepared statement active? ("busy" in SQLite parlance). | SQLitePreparedStatement.h | |
bool IsReadOnly() |
Is this SQLite prepared statement read-only? (ie, will it only read from the database contents?). | SQLitePreparedStatement.h | |
bool IsValid() |
Is this a valid SQLite prepared statement? (ie, has been successfully compiled). | SQLitePreparedStatement.h | |
void Reset () |
Reset the SQLite prepared statement so that it can be used again. | SQLitePreparedStatement.h | |
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex |
SQLitePreparedStatement.h | ||
bool SetBindingValueByIndex
(
const int32 InBindingIndex, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
Set the given float binding from its name or index. | SQLitePreparedStatement.h | |
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
Set the given string binding from its name or index. | SQLitePreparedStatement.h | |
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
Set the given integer binding from its name or index. | SQLitePreparedStatement.h | |
bool SetBindingValueByName
(
const TCHAR* InBindingName |
Set the given null binding from its name or index. | SQLitePreparedStatement.h | |
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
Set the given blob binding from its name or index. | SQLitePreparedStatement.h | |
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
bool SetBindingValueByName
(
const TCHAR* InBindingName, |
SQLitePreparedStatement.h | ||
| Step the SQLite prepared statement to try and move on to the next result from the statement. | SQLitePreparedStatement.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSQLitePreparedStatement & operator=
(
const FSQLitePreparedStatement& |
SQLitePreparedStatement.h | ||
FSQLitePreparedStatement & operator=
(
FSQLitePreparedStatement&& Other |
SQLitePreparedStatement.h |
See Also
- sqlite3_stmt.