Method Mysql.mysql()->affected_rows() Method affected_rows int affected_rows() Description Returns the number of rows affected by the last query.