mysql\_stmt\_row\_tell(3) MariaDB Connector/C mysql\_stmt\_row\_tell(3)

## [Name](#Name)

mysql\_stmt\_row\_tell - Returns position of row cursor

## [Synopsis](#Synopsis)

```
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT * stmt);
    
```

## [Description](#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(3)**](/man/os/mariadb-12.3/mysql_stmt_row_seek.3).

## [Parameter](#Parameter)

•

stmt - a statement handle, which was previously allocated by [**mysql\_stmt\_init(3)**](/man/os/mariadb-12.3/mysql_stmt_init.3).

## [Return value](#Return_value)

Returns the current position of the row cursor.

## [Notes](#Notes)

•

This function can be used for buffered result sets only, which can be obtained by executing the [**mysql\_stmt\_store\_result(3)**](/man/os/mariadb-12.3/mysql_stmt_store_result.3) function.

## [See Also](#See_Also)

•

[**mysql\_stmt\_row\_seek(3)**](/man/os/mariadb-12.3/mysql_stmt_row_seek.3)

•

[**mysql\_stmt\_store\_result(3)**](/man/os/mariadb-12.3/mysql_stmt_store_result.3)

Version 3.4

---

Document: mysql_stmt_row_tell(3) from mariadb-12.3 12.3.3-r2 (Chainguard OS)
Source: https://github.com/MariaDB/server.git
