[TYPO3-mvc] How to remove 1:n from persistence
Heiko Kromm | Paints
h.kromm at paints.de
Thu Jul 12 14:50:09 CEST 2012
Hi,
I have a model which has an 1:n attribute.
If I remove one item of the attribute with:
$myModel->removeMyAttribute($attributeToRemove);
The item is removed from myModel, but stays in persistence.
I have to update a lot of the relation attributes, and therefore I there are a lot of unused elements in my database.
How do I get rid of the elements in my database?
Thanks
Heiko
More information about the TYPO3-project-typo3v4mvc
mailing list