Method __builtin.Sql.Result()->affected_rows() Method affected_rows int affected_rows() Returns The number of affected rows by this query. See also status_command_complete(), num_rows()