Peter Rabbitson <[email protected]> writes:

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

It's valid, it'll yield { b_a => 'b', b_c => undef }, and an "Odd number
of elements in anonymous hash" warning, which is probably not what the
OP wanted.

-- 
ilmari
"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen


_______________________________________________
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