get_row_from_values
Description:
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 null is allowed) |
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 |