pub unsafe fn sqlite3_progress_handler(
db: *mut sqlite3,
nOps: c_int,
callback: Option<unsafe extern "C" fn(cbArg: *mut c_void) -> c_int>,
cbArg: *mut c_void,
)
Expand description
Causes the callback function callback
to be invoked periodically during
long running calls to sqlite3_step()
and sqlite3_prepare()
and similar
for database connection db
. An example use for this interface is to keep
a GUI updated during a large query.