Getting the number of affected rows for a SQLite statement using the C API

netcoder picture netcoder · Jul 1, 2011 · Viewed 10.1k times · Source

I'm executing a DELETE statement using the SQLite 3 C API, and I'd like to know how to fetch the number of affected rows.

Unfortunately, there is no function such as sqlite3_affected_rows or similar.