Natural function
AdaBase.Statement.Base.[STMT].affected_rows ()

This function returns the number of rows affected by the last executed DELETE, INSERT, or UPDATE statement.


See prepare select for a usage example.


[STMT] is "MySQL.MySQL_statement", "PostgreSQL.PostgreSQL_statement", or "SQLite.SQLite_statement"

See Also