Changeset 4822

Show
Ignore:
Timestamp:
08/26/08 22:07:24 (10 months ago)
Author:
jwage
Message:

fixes #1287

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/docs/manual/en/basic-schema-mapping/columns/data-types.txt

    r4674 r4822  
    385385++++ Enum 
    386386 
    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). 
     387Doctrine 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 
     389Note: 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> 
    389394 
    390395<code type="php">