Retrieve rows

After a query executes, a cursor holds the query rows. The mi_next_row() function takes the following actions to obtain the rows from a cursor:
  • Obtains access to the current row
  • Executes the mi_next_row() function in a loop that iterates for each query row

For a sample function that shows one way to use mi_next_row() to retrieve query rows, see Example: The get_data() function.