On Sat, Mar 08, 2008 at 06:11:22PM +0100, Moritz Onken wrote:
> Wouldn't it be great (tm) if we could add an "on_delete" and  
> "on_update" config
> to all the relationships? Like the "cascade_delete" config option.
> 
> If the DMBS supports that type of actions DBIC does not have to take  
> care of it,
> otherwise it does.

Seems reasonable, but how well can we abstract it to be non-db-specific?

If we can't, I think just using sqlt_deploy_hook is the answer.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to