<p>What I imagined is which RDBMS supports cascading could be included in the Storage classes, no autodetection.<br>
If cascading in the DB is declared, the rel config should match this and should be taken into account for deploy.<br>
I don't say it's something I need/want.</p>

<p>What would make up a feature for me is to be able to control if cascade delete is handled by DBIC before as <a href="https://github.com/gbarr" class="user-mention">@gbarr</a> suggested to trigger delete method modifiers of related result classes, e.g.<br>
Device-&gt;has_many('Interface')-&gt;belongs_to('Line')<br>
Interface has a delete around method modifier that checks if it was the last interface of its related line, if so deletes the line after being deleted.<br>
This interface method modifier isn't trigger if one deletes a whole device. I had to add a method modifier to the device delete method to loop through the related interfaces and delete them.</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-18391796'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4W3BWTo7EIi_7vx28Xzl_mJnCwjxj52C33_Ervpy2ogo-MvpszQvTwkKiTOIEY0G.gif' height='1' width='1'></p>