Navigation
API > API/Plugins > API/Plugins/SQLiteCore > API/Plugins/SQLiteCore/FSQLiteDatabase > API/Plugins/SQLiteCore/FSQLiteDatabase/Execute
References
| Module | SQLiteCore |
| Header | /Engine/Plugins/Runtime/Database/SQLiteCore/Source/SQLiteCore/Public/SQLiteDatabase.h |
| Include | #include "SQLiteDatabase.h" |
| Source | /Engine/Plugins/Runtime/Database/SQLiteCore/Source/SQLiteCore/Private/SQLiteDatabase.cpp |
int64 Execute
(
const TCHAR * InStatement,
TFunctionRef < ESQLitePreparedStatementExecuteRowResult &)> InCallback
)
Remarks
Execute a statement and enumerate the result state.
For statements that require a result, or that you wish to reuse repeatedly (including using bindings), you should consider using FSQLitePreparedStatement. The number of rows enumerated (which may be less than the number of rows returned if ESQLitePreparedStatementExecuteRowResult::Stop is returned during enumeration), or INDEX_NONE if an error occurred (including returning ESQLitePreparedStatementExecuteRowResult::Error during enumeration).