| name |
The name of the column |
| orgname |
Original column name if an alias was specified |
| table |
The name of the table this field belongs to (if not calculated) |
| orgtable |
Original table name if an alias was specified |
| def |
Unused. Always an empty string |
| db |
The name of the database |
| catalog |
Unused. Always "def" |
| max_length |
The maximum width of the field for the result set. As of PHP 8.1, this value is always 0. |
| length |
The width of the field in bytes. For string columns,
the length value varies on the connection character set. For example,
if the character set is latin1, a single-byte character set,
the length value for a SELECT 'abc' query is 3.
If the character set is utf8mb4, a multibyte character
set in which characters take up to 4 bytes, the length value is 12.
|
| charsetnr |
The character set number for the field. |
| flags |
An integer representing the bit-flags for the field. |
| type |
The data type used for this field |
| decimals |
The number of decimals for numeric fields, and the fractional seconds precision for temporal fields. |