mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Section about OrphanRemoval should be updated to reflect replacing a collection #5973
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eigan on GitHub (May 24, 2018).
Feature Request
Summary
https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-associations.html#orphan-removal
This documentation doesnt mention that replacing a collection will trigger an SQL DELETE (and no event) of entities in the collection, even if entities within the previous collection is existing in the new collection.
#7011 #1354