[DBIx-Class-Devel] Re: [dbix-class] cascaded delete must delete relationships first (#27)

Graham Barr notifications at github.com
Thu May 23 13:44:55 GMT 2013


@abraxxa that is already supported with cascade_delete=0 in the attributes.

The issue is when cascade_delete is turned on, which is the default, then do you delete the row before or after the related rows. Currently it deletes the row first which fails if the RDBMS is not cascading itself and has foreign key checking enabled (which SQLite does not by default)

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/27#issuecomment-18343943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20130523/566dce53/attachment.htm


More information about the DBIx-Class-Devel mailing list