sqlite_wasm_rs::export

Function sqlite3_context_db_handle

Source
pub unsafe fn sqlite3_context_db_handle(
    ctx: *mut sqlite3_context,
) -> *mut sqlite3
Expand description

C interface definition of sqlite Returns a copy of the pointer to the database connection (the 1st parameter) of the sqlite3_create_function() routine that originally registered the application defined function.

See https://www.sqlite.org/c3ref/context_db_handle.html