Pike v8.1 release 6

Method Sql.sql_util.UnicodeWrapper()->fetch_fields()


Method fetch_fields

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

Description

Returns Information about the fields in the result.

The following fields are converted from UTF8 if present:

"name" : string

The name of the field. Always present.

"table" : string

The table the field is from. Not present from all databases.

"default" : string

The default value for the column. Not available from all databases.