1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Getting started - Setting table definition - Enum emulation.php

4 lines
337 B
PHP
Raw Normal View History

Doctrine offers enum data type emulation for all databases. The enum data type of Doctrine maps to
integer on database. Doctrine takes care of converting the enumerated value automatically to its valuelist equivalent when a record is being fetched
and the valuelist value back to its enumerated equivalent when record is being saved.