<p>I am using MySQL with InnoDB tables where the foreign keys are not defined with any cascade option</p>

<p>If you are expecting the DB to to cascade, the why attempt manually with cascade deletes ?</p>

<p>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</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-18310956'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4W3BWTo7EIi_7vx28Xzl_mJnCwjxj52C33_Ervpy2ogo-MvpszQvTwkKiTOIEY0G.gif' height='1' width='1'></p>