For the complete documentation index, see llms.txt. This page is also available as Markdown.

mysql_stmt_row_tell

mysql_stmt_row_tell returns the current row cursor offset of a buffered prepared statement result set, which can be passed to mysql_stmt_row_seek to restore the position.

Syntax

MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT * stmt);

Parameter

Description

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

Return Value

Returns the current position of the row cursor.

This function can be used for buffered result sets only, which can be obtained by executing the mysql_stmt_store_result() function.

See Also

spinner

Last updated

Was this helpful?