mysql_stmt_data_seek — Seeks to an arbitrary row in statement result set

void mysql_stmt_data_seek(MYSQL_STMT * stmt,
                          my_ulonglong offset);

Seeks to an arbitrary row in statement result set obtained by a previous call to mysql_stmt_store_result.

Parameters

stmt

A statement handle, which was previously allocated by mysql_stmt_init().

offset

Row offset. This value must between 0 and number of rows - 1.

Return value

void

[Note]

The number of rows can be obtained by function mysql_stmt_num_rows().

See also

mysql_stmt_row_tell(), mysql_stmt_store_result(), mysql_stmt_num_rows()