<p><a href="https://github.com/ribasushi" class="user-mention">@ribasushi</a> the use case is that the RDBMS enforces foreign key checking, but the schema is defined with <code>ON DELETE RESTRICT</code></p>

<p>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</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/dbsrgits/dbix-class/pull/27#issuecomment-18402589'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4W3BWTo7EIi_7vx28Xzl_mJnCwjxj52C33_Ervpy2ogo-MvpszQvTwkKiTOIEY0G.gif' height='1' width='1'></p>