This function creates a cursor for subsequent use by
classname_indexname_search()
and the cursor navigation methods.
MCO_RET classname_indexname_index_cursor( /*IN*/ mco_trans_h trans, /*OUT*/ mco_cursor_h cursor);
trans | A transaction handle returned by mco_trans_start() |
cursor |
An instance of a mco_cursor_h to be prepared |
This function creates a cursor for subsequent use by
classname_indexname_search()
and the cursor navigation methods.
MCO_S_OK | The cursor was created successfully |
MCO_S_CURSOR_EMPTY | No objects in index |
MCO_E_VOLUNTARY_NOT_EXIST |
indexname is a voluntary index, and has not been created |
MCO_ERR_CURSOR |
|