[Dbix-class] RecursiveUpdate and many to many

Matt S Trout dbix-class at trout.me.uk
Mon Sep 29 16:50:34 BST 2008


On Sun, Sep 28, 2008 at 05:56:11PM +0100, Oliver Gorwits wrote:
> Ideally, DBIC would instead populate the relationship_info details
> after someone has set up __PACKAGE__->many_to_many(...). That would
> avoid this guesswork.

That would make no sense at all since many-to-many is NOT A RELATIONSHIP.

If you can't JOIN it in a single clause, it's not a relationship.

Period.

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



More information about the DBIx-Class mailing list