Navigation
API > API/Plugins > API/Plugins/SQLiteCore > API/Plugins/SQLiteCore/sqlite
References
| Module | SQLiteCore |
| Header | /Engine/Plugins/Runtime/Database/SQLiteCore/Source/SQLiteCore/Public/sqlite/sqlite3.h |
| Include | #include "sqlite/sqlite3.h" |
Syntax
struct sqlite3_module
Remarks
CAPI3REF: Virtual Table Object KEYWORDS: sqlite3_module {virtual table module}
This structure, sometimes called a "virtual table module", defines the implementation of a [virtual table]. This structure consists mostly of methods for the module.
^A virtual table module is created by filling in a persistent instance of this structure and passing a pointer to that instance to [sqlite3_create_module()] or [sqlite3_create_module_v2()]. ^The registration remains valid until it is replaced by a different module or until the [database connection] closes. The content of this structure must not change while it is registered with any database connection.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | iVersion | ||
| int(*)(sqlite3_vtab *pVTab) | xBegin | ||
| int(*)(sqlite3_vtab *pVTab, sqlite3_index_info *) | xBestIndex | ||
| int(*)(sqlite3_vtab_cursor *) | xClose | ||
| int(*)(sqlite3_vtab_cursor *, sqlite3_context *, int) | xColumn | ||
| int(*)(sqlite3_vtab *pVTab) | xCommit | ||
| int(*)(sqlite3 *, void *pAux, int argc, const char *const *argv, sqlite3_vtab &#... | xConnect | ||
| int(*)(sqlite3 *, void *pAux, int argc, const char *const *argv, sqlite3_vtab &#... | xCreate | ||
| int(*)(sqlite3_vtab *pVTab) | xDestroy | ||
| int(*)(sqlite3_vtab *pVTab) | xDisconnect | ||
| int(*)(sqlite3_vtab_cursor *) | xEof | ||
| int(*)(sqlite3_vtab_cursor *, int idxNum, const char *idxStr, int argc, sqlite3_value &#... | xFilter | ||
| int(*)(sqlite3vtab *pVtab, int nArg, const char *zName, void(**pxFunc)(sqlite3... | xFindFunction | ||
| int(*)(sqlite3_vtab_cursor *) | xNext | ||
| int(*)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor) | xOpen | ||
| int(*)(sqlite3_vtab *pVTab, int) | xRelease | ||
| int(*)(sqlite3_vtab *pVtab, const char *zNew) | xRename | ||
| int(*)(sqlite3_vtab *pVTab) | xRollback | ||
| int(*)(sqlite3_vtab *pVTab, int) | xRollbackTo | ||
| int(*)(sqlite3_vtab_cursor *, sqlite3_int64 *pRowid) | xRowid | ||
| int(*)(sqlite3_vtab *pVTab, int) | xSavepoint | The methods above are in version 1 of the sqlite_module object. | |
| int(*)(const char *) | xShadowName | The methods above are in versions 1 and 2 of the sqlite_module object. | |
| int(*)(sqlite3_vtab *pVTab) | xSync | ||
| int(*)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *) | xUpdate |