Scroll to navigation

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

stmt - a statement handle, which was previously allocated by mysql_stmt_init(3).
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

mysql_stmt_row_tell(3)
mysql_stmt_store_result(3)
Version 3.3.1