Pike v8.1 release 6

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()