[DBIx-Class-Devel] Re: [dbix-class] cascaded delete must delete
relationships first (#27)
Graham Barr
notifications at github.com
Wed May 22 22:01:31 GMT 2013
I am using MySQL with InnoDB tables where the foreign keys are not defined with any cascade option
If you are expecting the DB to to cascade, the why attempt manually with cascade deletes ?
If the DB does do automatic cascades, then putting the delete after the manual ones, while less efficient, will still work and efficiency can be restored by setting cascade_delete to false in the relationship definition
---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/27#issuecomment-18310956
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20130522/27dd2128/attachment.htm
More information about the DBIx-Class-Devel
mailing list