pub unsafe fn sqlite3_commit_hook(
db: *mut sqlite3,
hook: Option<unsafe extern "C" fn(cbArg: *mut c_void) -> c_int>,
cbArg: *mut c_void,
) -> *mut c_void
Expand description
Registers a callback function to be invoked whenever a transaction is
committed. Any callback set by a previous call to sqlite3_commit_hook()
for the same database connection is overridden.