[TYPO3-mvc] delete all related objects

Claus Fassing claus at fassing.eu
Thu May 19 22:02:49 CEST 2011


Malte Beran <malte.beran at gmail.com> wrote:
> Hi guys,
> i've got a n:m relation with value objects called anhaenge.
> Now i want to delete all related objects (anhaenge) from my object.
> 
> How can i do this?

Just annotate the embedded object property with "@cascade remove"

Greetz Claus


More information about the TYPO3-project-typo3v4mvc mailing list