Added: affectedRows function to the database.Statement class