this question is asked before, but a long time ago. So I post it again. I
have a db structure like this:
category -> subcategory -> subsubcategory
When I delete a category I want to delete also the subcategories and all the
subsubcategories. I builded my references but it's only deleting the
subcategories when I delete a category.
Is there a way to build a referencemap so it'll also delete
subsubcategories?
I'm using MyISAM (mysql).
thanks
-----
http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context: http://www.nabble.com/Referencemap%3A-delete-CASCADE-tp20027817p20027817.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论