Method Sql.tds()->big_query()->fetch_fields()
- Method
fetch_fields
array(mapping(string:mixed)) fetch_fields()- Description
Fetch a description of the fields in the result.
- Returns
Returns an array with a mapping for each of the fields in the result.
The mappings contain the following information:
Standard fields:
"name":stringThe name of the field.
"table":string|voidThe name of the table (if available).
TDS-specific fields:
"nullable":bool1if the field may contain NULL."writeable":bool1if the field may be changed."identity":bool1if the field is the identity for the row."column_size":intWidth of the field.
"timestamp":boolTime stamp information for last change is available.
"column_prec":int|voidPrecision of the field.
"column_scale":int|voidScale exponent of the field.
"usertype":intInternal use only.
"flags":int"column_type":int"cardinal_type":int"varint_size":int