mysql_stmt_data_seek

Syntax

void mysql_stmt_data_seek(MYSQL_STMT * stmt,
                          my_ulonglong offset);
  • 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.

Description

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

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

See Also

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.