[Dbix-class] is joining a table twice with nesting possible?

Matt S Trout dbix-class at trout.me.uk
Thu Nov 13 18:56:36 GMT 2008


On Wed, Oct 22, 2008 at 11:16:33AM -0700, James Marca wrote:
> On Tue, Oct 21, 2008 at 09:05:52AM +0100, Howe, Tom (IT) wrote:
> > I'm not sure if this works but I would try something like...
> > 
> > join => [ { cds=>ripped }, { cds=>ripped } ]
> 
> Ha!  Awesome advice.  I guess in my late-night hacking I didn't try
> that combination.
> 
> 
> To sum up problem and solution, reverting to my actual case of images
> and dimensions, not the artists, cds, and albums trivial example. 

Maybe you could compact your explanation and turn it into a cookbook entry?

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