[Dbix-class] RecursiveUpdate and many to many

Matt S Trout dbix-class at trout.me.uk
Wed Oct 1 02:27:01 BST 2008


On Tue, Sep 30, 2008 at 02:36:51PM +0200, Moritz Onken wrote:
> 
> Am 29.09.2008 um 17:50 schrieb Matt S Trout:
> 
> >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.
> 
> Why is there no ->is_many_to_many($column) method in ResultSource which
> can handle this?

Because it's not a relationship so ResultSource doesn't and shouldn't
know anything about it.

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