27.7.10.7 mysql_stmt_data_seek()
void mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset)
Description
在语句结果集中查找任意行。 offset
值为行号,并且应在0
到mysql_stmt_num_rows(stmt)-1的范围内。
此函数要求语句结果集结构包含最后执行的查询的整个结果,因此mysql_stmt_data_seek()只能与mysql_stmt_store_result()结合使用。
Return Values
None.
Errors
None.