Fetch an element
You fetch an element from an open collection with the mi_collection_fetch() function. You can perform a fetch operation on a read/write or a read-only cursor.
To fetch a collection element, you must specify:
- The connection with which the collection is associated
- The collection descriptor for the collection from which you want to fetch elements
- The location of the cursor position at which to begin the fetch
- A variable that holds a single fetched element and one that holds its length