changes



Returns the number of database rows that were changed or inserted or deleted by the most recently completed SQL statement on this database connection.

Arguments: There are no arguments to this method.
Return value: The number of changed, deleted, or inserted rows.
Remarks: Only changes that are directly specified by the INSERT, UPDATE, or DELETE statement are counted. Auxiliary changes caused by triggers or foreign key actions are not counted. Use the totalChanges method to find the total number of changes including changes caused by triggers and foreign key actions.
Details: The functionality of thechangesmethod is similar to that of the SQLite sqlite3_changes API.