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

## [Name](#Name)

mysql\_stmt\_row\_seek - Positions row cursor.

## [Synopsis](#Synopsis)

```
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt,


                                     MYSQL_ROW_OFFSET offset);
    
```

## [Description](#Description)

Positions the row cursor to an arbitrary row in a result set which was obtained by [**mysql\_stmt\_store\_result(3)**](/man/os/mariadb-11.6/mysql_stmt_store_result.3).

## [Parameter](#Parameter)

•

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

•

offset - row offset. This value can be obtained either by mysql\_stmt\_row\_seek() or [**mysql\_stmt\_row\_tell(3)**](/man/os/mariadb-11.6/mysql_stmt_row_tell.3).

## [Return value](#Return_value)

Returns the previous row offset.

## [Notes](#Notes)

The result set must be obtained by [**mysql\_use\_result(3)**](/man/os/mariadb-11.6/mysql_use_result.3).

## [See Also](#See_Also)

•

[**mysql\_stmt\_row\_tell(3)**](/man/os/mariadb-11.6/mysql_stmt_row_tell.3)

•

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

Version 3.4

---

Document: mysql_stmt_row_seek(3) from mariadb-11.6 11.6.2-r0 (Chainguard OS)
