Documentation Home
MySQL 9.4 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


6.4.8 mysql_stmt_data_seek()

voidmysql_stmt_data_seek(MYSQL_STMT *stmt,                     uint64_t offset)

Description

Seeks to an arbitrary row in a statement result set. Theoffset value is a row number and should be in the range from0 tomysql_stmt_num_rows(stmt)-1.

This function requires that the statement result set structure contains the entire result of the last executed query, somysql_stmt_data_seek() may be used only in conjunction withmysql_stmt_store_result().

Return Values

None.

Errors

None.