public function delete_records_list($table, $field, array $values) {
        list($select, $params) = $this->where_clause_list($field, $values);
        return $this->delete_records_select($table, $select, $params);
    }
public function delete_records_list($table, $field, array $values) {
        list($select, $params) = $this->where_clause_list($field, $values);
        return $this->delete_records_select($table, $select, $params);
    }
public function delete_records_list ( $ table , $ field , array $ values ) { list ( $ select , $ params ) = $ this -> where_clause_list ( $ field , $ values ) ; return $ this -> delete_records_select ( $ table , $ select , $ params ) ; }
Delete the records from a table where one field match one list of values.

@param string $table the table to delete from.
@param string $field The field to search
@param array $values array of values
@return bool true.
@throws dml_exception A DML specific exception is thrown for any errors.
Delete the records from a table where one field match one list of values .