Function Database.changes

Gets the number of database rows that were changed, inserted or deleted by the most recently executed SQL statement.

int changes() nothrow @property;