how many rows affected in sqllite

Solutions on MaxInterview for how many rows affected in sqllite by the best coders in the world

showing results for - "how many rows affected in sqllite"
Chiara
11 Feb 2016
1After calling your Cursor.execute*() methods with your UPDATE or INSERT statements you can use Cursor.rowcount to see the # of rows affected by the execute call.
2
3If I had to guess I would say the python lib is calling int sqlite3_changes(sqlite3*) from the C API but I have not looked at the code so I can't say for sure.