mysql_stmt_row_seek — Positions row cursors

MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt,
                                     MYSQL_ROW_OFFSET offset);

Positions the row cursor to an aribtrary row in a result set which was obtaimed by mysql_stmt_store_result().

Parameters

stmt

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

offset

Row offset. This value can be obtained either by mysql_stmt_row_seek() or mysql_stmt_row_tell()

Return value

The previous row offset.

[Note]

The result set must be obtained by mysql_use_result().

See also

mysql_stmt_row_tell(), mysql_stmt_store_result