get_row_from_values
Description:
[ CCode ( vfunc_name = "i_find_row" ) ]
public abstract int get_row_from_values (SList<Value?> values, int[] cols_index)
public abstract int get_row_from_values (SList<Value?> values, int[] cols_index)
Returns the first row where all the values in values
at the columns identified at cols_index
match.
If the row can't be identified, then returns -1;
NOTE: the cols_index
array MUST contain a column index for each value in values
Parameters:
this |
a DataModel object. |
values |
a list of Value values (no |
cols_index |
an array of int containing the column number to match each value of |
Returns:
the requested row number, of -1 if not found |