[Catalyst] $c->stash for complex/cascaded relationship bridges

Tomas Doran bobtfish at bobtfish.net
Thu Jan 19 18:13:30 GMT 2012


On 19 Jan 2012, at 16:39, Roland Philibert wrote:

> Hello all.
>
> I have the following situation in my database where table3 and  
> table5 are acting as relationship bridges between a common table2:
> table1-><-table3-><-table2-><-table5-><-table4>
>
> For a given primary key in table1, how does one retrieve  
> resultset(s) to stash to content in order to get all related columns  
> of table4 for each related object of table2?
> What would be the recommended/simplest way of doing this?

You wanted the DBIx::Class mailing list?

Cheers
t0m





More information about the Catalyst mailing list