Expand description
Unsafe wrappers around low-level sqlite3 C API.
Functions§
- faux_
sqlite_ ⚠extension_ init2 - This function MUST be called in loadable extension before any of the below functions are invoked. (The sqlite_entrypoint function will do this for you). This essentially emulates the SQLITE_EXTENSION_INIT2 macro that’s not available in rust-land. Without it, when dynamically loading extensions, calls to SQLite C-API functions in sqlite3ext_sys like sqlite3_value_text will segfault, because sqlite3ext.h does not include their proper definitions. Instead, a sqlite3_api_routines object is provided through the entrypoint at runtime, to which sqlite_loadable will redefine the static SQLITE3_API variable that the functions below requre.
- sqlite3ext_
bind_ ⚠pointer - sqlite3ext_
bind_ ⚠text - sqlite3ext_
column_ ⚠text - sqlite3ext_
column_ ⚠value - sqlite3ext_
create_ ⚠function_ v2 - sqlite3ext_
create_ ⚠module_ v2 - sqlite3ext_
finalize ⚠ - sqlite3ext_
get_ ⚠auxdata - sqlite3ext_
prepare_ ⚠v2 - sqlite3ext_
result_ ⚠blob - sqlite3ext_
result_ ⚠double - sqlite3ext_
result_ ⚠error - sqlite3ext_
result_ ⚠error_ code - sqlite3ext_
result_ ⚠int - sqlite3ext_
result_ ⚠int64 - sqlite3ext_
result_ ⚠null - sqlite3ext_
result_ ⚠pointer - sqlite3ext_
result_ ⚠subtype - sqlite3ext_
result_ ⚠text - sqlite3ext_
set_ ⚠auxdata - sqlite3ext_
step ⚠ - sqlite3ext_
value_ ⚠blob - sqlite3ext_
value_ ⚠bytes - sqlite3ext_
value_ ⚠double - sqlite3ext_
value_ ⚠int - sqlite3ext_
value_ ⚠int64 - sqlite3ext_
value_ ⚠pointer - sqlite3ext_
value_ ⚠text - sqlite3ext_
value_ ⚠type - sqlite3ext_
vtab_ ⚠distinct - sqlitex_
declare_ ⚠vtab