Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Sql
Sql.sql_util
Sql.sql_util.UnicodeWrapper

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.