mysql_stmt_data_seek(3)

mysql_stmt_data_seek3

Name

mysql_stmt_data_seek - Seeks to an arbitrary row in statement result set

Synopsis

#include <mysql.h>
void mysql_stmt_data_seek(MYSQL_STMT * stmt,
                          my_ulonglong offset);

Description

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

Parameter

•

stmt - a statement handle, which was previously allocated by mysql_stmt_init(3).

•

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

Return value

Returns void

Notes

•

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

See Also

•

mysql_stmt_row_tell(3)

•

mysql_stmt_store_result(3)

•

mysql_stmt_num_rows(3)

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13–Arch

From mariadb 13.0.2-2 in Arch Linux 2026-11-01. Also shipped by mariadb-lts. Parsed by carta from the page's man source.