Select an index to use when sorting and searching the table. The selected index determines the order by which to sort the rows in the table when calling seek_first, seek_last. seek_next, and seek_prior. This index is also used when apply_seek is called to search for a row and when apply_range is used to restrict the set of accessible rows. Only one index can be active at a time. If no index is selected, rows are sorted in an undefined order. Also, begin_seek, set_range_start, and set_range_end require that an index be selected.
|