Method Mysql.mysql()->Result()->fetch_fields()


Method fetch_fields

array(int|mapping(string:mixed)) fetch_fields()

Description

Get specification of all remaining fields.

Returns an array with one mapping for every remaining field in the result table.

The returned data is similar to the data returned by Mysql.mysql->list_fields(), except for that the entry "default" is missing.

Note

Resets the field cursor to 0 (zero).

This function always exists even when fetch_field() and field_seek() don't.

See also

fetch_field(), field_seek(), Mysql.mysql->list_fields()