Doctrine Object Relational Mapper (ORM)
| 4.0.x | 3.8.x | 3.7.x | 2.21.x | 2.20.x |
|---|---|---|---|---|
Doctrine ORM is an object-relational mapper for PHP 8.1+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
orphanRemoval deletes an entity that is still in the collection (remove() does not re-check membership)
"indexBy" configuration on associations is not respected by L2C
DDC-3354: Replacing indexed item on association with indexBy cannot comply with unicity constraint
Unique index generated for one-to-one relation causes errors when replacing entities.
DDC-601: UnitOfWork commit order problem
Add an option for schema validation to allow many-to-one relations to be used as one-to-one relations
Multi-table UPDATE/DELETE fails with DBAL 4 for string identifiers: temporary id table column loses its length
No way to count without fetching rows once `Paginator` is gone
OffsetPaginator always runs the COUNT query, unlike CursorPaginator
Unnamed indexes from the parent class are ignored if there are unnamed indexes in the subclass