sqlite_wasm_rs::export

Function sqlite3_db_handle

Source
pub unsafe fn sqlite3_db_handle(stmt: *mut sqlite3_stmt) -> *mut sqlite3
Expand description

C interface definition of sqlite Returns the database connection handle to which a prepared statement belongs. The database connection returned by sqlite3_db_handle is the same database connection that was the first argument to the sqlite3_prepare_v2() call (or its variants) that was used to create the statement in the first place.

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