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