Query\Driver_Interface::affected_rows

Returns number of rows affected by an INSERT, UPDATE, DELETE type query