David wrote:
> Hi,
> 
> I have got the error message "DBIx::Class::ResultSet::next(): No such
> relationship.." when I try to do a join with more than two tables.
> 
>  { join => {b_a' => 'b' => 'b_c'}

This isn't even valid perl. You are defining a hash with a 3 element list.

You probably wanted join => { b_a => { b => { 'b_c' } } }

Cheers

_______________________________________________
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