sqlite_wasm_rs::export

Function sqlite3_finalize

Source
pub unsafe fn sqlite3_finalize(stmt: *mut sqlite3_stmt) -> c_int
Expand description

C interface definition of sqlite The sqlite3_finalize() function is called to delete a prepared statement. If the most recent evaluation of the statement encountered no errors or if the statement is never been evaluated, then sqlite3_finalize() returns SQLITE_OK. If the most recent evaluation of statement stmt failed, then sqlite3_finalize(stmt) returns the appropriate error code or extended error code.

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