table of contents
mysql_row_seek(3) | MariaDB Connector/C | mysql_row_seek(3) |
Name¶
mysql_row_seek - Positions the row cursor to an arbitrary row
Synopsis¶
-
#include <mysql.h> MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
MYSQL_ROW_OFFSET offset);
Description¶
Positions the row cursor to an arbitrary row in a result set which was obtained by mysql_store_result(3).
Parameter¶
- •
- result - a result set identifier returned by mysql_store_result(3).
- •
- offset - row offset. This value can be obtained either by mysql_row_seek() or mysql_row_tell(3)
Notes¶
- •
- This function will not work if the result set was obtained by mysql_use_result(3).
Return value¶
Returns the previous row offset.
See also¶
- •
- mysql_store_result(3)
- •
- mysql_row_tell(3)
Version 3.3.1 |