The total_changes() function returns an integer
that indicates the number of database rows that have been
modified by any complete INSERT, UPDATE, or DELETE command run by this database connection
since it was opened.
This SQL function is a wrapper around
the C function sqlite3_total_changes(), and has all of the
same limitations and conditions.