Navigation
API > API/Plugins > API/Plugins/SQLiteCore
References
| Module | SQLiteCore |
| Header | /Engine/Plugins/Runtime/Database/SQLiteCore/Source/SQLiteCore/Public/SQLiteDatabase.h |
| Include | #include "SQLiteDatabase.h" |
Syntax
class FSQLiteDatabase
Remarks
Wrapper around an SQLite database.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Construction/Destruction | |||
FSQLiteDatabase
(
const FSQLiteDatabase& |
Non-copyable | ||
FSQLiteDatabase
(
FSQLiteDatabase&& Other |
Movable |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Close () |
Close an open SQLite database file. | |
| int64 | Execute
(
const TCHAR* InStatement, |
Execute a statement and enumerate the result state. | |
| bool | Execute a statement that requires no result state. | ||
| bool | GetApplicationId
(
int32& OutApplicationId |
Get the application ID set in the database header. | |
| FString | GetFilename () |
Get the filename of the currently open database, or an empty string. | |
| FString | GetLastError () |
Get the last error reported by this database. | |
| int64 | Get the rowid of the last successful INSERT statement on any table in this database. | ||
| bool | GetUserVersion
(
int32& OutUserVersion |
Get the user version set in the database header. | |
| bool | IsValid () |
Is this a valid SQLite database? (ie, has been successfully opened). | |
| bool | Open
(
const TCHAR* InFilename, |
Open (or create) an SQLite database file. | |
| bool | Performs a quick check on the integrity of the database, returns true if everything is ok. | ||
| FSQLitePreparedStatement | PrepareStatement
(
const TCHAR* InStatement, |
Prepare a statement for manual processing. | |
| T | PrepareStatement
(
const ESQLitePreparedStatementFlags InFlags |
Prepare a statement defined by SQLITE_PREPARED_STATEMENT for manual processing. | |
| bool | SetApplicationId
(
const int32 InApplicationId |
Set the application ID in the database header. | |
| bool | SetUserVersion
(
const int32 InUserVersion |
Set the user version in the database header. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FSQLiteDatabase & | operator=
(
FSQLiteDatabase&& Other |
||
| FSQLiteDatabase & | operator=
(
const FSQLiteDatabase& |