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

Graham Barr notifications at github.com
Fri May 24 12:45:50 GMT 2013


@ribasushi the use case is that the RDBMS enforces foreign key checking, but the schema is defined with `ON DELETE RESTRICT`

This means that any cascading delete MUST be done in the application and the related rows MUST be deleted first or the foreign key checking will raise an exception

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


More information about the DBIx-Class-Devel mailing list