mysql_row_tell(3)

Returns row offset of a result cursor #include [B] [R] MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res); Returns the row

Section 3 libmariadb-dev bookworm source

Description

mysql_row_tell

Name

mysql_row_tell - Returns row offset of a result cursor

Synopsis

#include <mysql.h>

MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res);

Description

Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor by calling mysql_row_seek(3).

Parameter

res - a result set identifier returned by mysql_store_result(3).

Notes

This function will not work if the result set was obtained by mysql_use_result(3).

See also

mysql_store_result(3)

mysql_row_seek(3)