sqlite_wasm_rs::c

Function sqlite3_changes

Source
pub unsafe fn sqlite3_changes(db: *mut sqlite3) -> c_int
Expand description

Returns the number of rows modified, inserted or deleted by the most recently completed INSERT, UPDATE or DELETE statement on the database connection specified by the only parameter. Executing any other type of SQL statement does not modify the value returned by these functions. REturn value is undefined if the number of changes is bigger than 32 bits. Use sqlite3_changes64() instead in these cases.

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