MySQL :: MySQL 8.0 C API Developer Guide :: 5.4.10 mysql_data_seek() (original) (raw)
Description
Seeks to an arbitrary row in a query result set. Theoffset
value is a row number. Specify a value in the range from 0
tomysql_num_rows(result)-1.
This function requires that the result set structure contains the entire result of the query, somysql_data_seek() may be used only in conjunction withmysql_store_result(), not withmysql_use_result().