Query\DriverInterface::affected_rows

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