get_affected_rows() support for bulk operations.