mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[Doc] OneToMany information #5212
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 @alborq on GitHub (Aug 7, 2016).
onetomany is define as independant annotation :
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#onetomany
But, In reality onetomany can not exist itself this need a mapped side :
OneToMany mapping on field 'linkedReverseToOne1N' requires the 'mappedBy' attribute.
Doc say mappedBy is optional attributes: AND cascade arg exist, but if OneToMany is only inversedSide
cascade cant be listen