1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/docs/Object relational mapping - Record identifiers - Introduction.php

6 lines
352 B
PHP

Doctrine supports many kind of identifiers. For most cases it is recommended not to
specify any primary keys (Doctrine will then use field name 'id' as an autoincremented
primary key). When using table creation Doctrine is smart enough to emulate the
autoincrementation with sequences and triggers on databases that doesn't support it natively.