Pike v8.0 release 1738

Method Mysql.mysql_result()->field_seek()


Method field_seek

void field_seek(int field_no)

Description

Skip to specified field.

Places the field cursor at the specified position. This affects which field mysql_result->fetch_field() will return next.

Fields are numbered starting with 0.

Note

This function is usually not enabled. To enable it SUPPORT_FIELD_SEEK must be defined when compiling the mysql-module.

See also

fetch_field(), fetch_fields()