FreeBSD manual
download PDF document: mysql_stmt_row_seek.3.pdf
mysql_stmt_row_seek(3) MariaDB Connector/C mysql_stmt_row_seek(3)
Name
mysql_stmt_row_seek - Positions row cursor.
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt,
MYSQL_ROW_OFFSET offset);
Description
Positions the row cursor to an arbitrary row in a result set which was
obtained by mysql_stmt_store_result(3).
Parameter
o stmt - a statement handle, which was previously allocated by
mysql_stmt_init(3).
o offset - row offset. This value can be obtained either by
mysql_stmt_row_seek() or mysql_stmt_row_tell(3).
Return value
Returns the previous row offset.
Notes
The result set must be obtained by mysql_use_result(3).
See Also
o mysql_stmt_row_tell(3)
o mysql_stmt_store_result(3)
Version 3.3.1 mysql_stmt_row_seek(3)