| 387 | | Doctrine has a unified enum type. Enum typed columns automatically convert the string values into index numbers and vice |
| 388 | | versa. The possible values for the column can be specified with Doctrine_Record::setEnumValues(columnName, array values). |
| | 387 | Doctrine has a unified enum type. Enum typed columns automatically convert the string values into index numbers and vice versa. The possible values for the column can be specified with Doctrine_Record::setEnumValues(columnName, array values) or can be specified on the column definition with hasColumn() |
| | 388 | |
| | 389 | Note: If you wish to use native enum types for your dbms if it supports it then you must set the following attribute: |
| | 390 | |
| | 391 | <code type="php"> |
| | 392 | $conn->setAttribute('use_native_enum', true); |
| | 393 | </code> |