How to delete many-to-many records in Doctrine?
Posted
by terrani
on Stack Overflow
See other posts from Stack Overflow
or by terrani
Published on 2010-04-08T16:17:56Z
Indexed on
2010/04/08
16:23 UTC
Read the original article
Hit count: 209
doctrine
|many-to-many
Hi All,
I am trying to delete records in many to many using Doctrine. I used code on http://www.doctrine-project.org/documentation/manual/1_2/ru/working-with-models#many-to-many-relations:deleting-a-link
when I do the first method, it just deletes UserGroup record ONLY. How do I delete User, Group, and UserGroup records at once? The second and thrid methods do not work as well.
© Stack Overflow or respective owner