Thanks Peter! It's worked all right. David
________________________________ De: Peter Rabbitson <[email protected]> Para: Class user and developer list <[email protected]> Enviado: jue,4 marzo, 2010 13:43 Asunto: Re: [Dbix-class] 'DBIx::Class::ResultSet::next(): No such relationship' when join with more than two tables 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]
_______________________________________________ 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]
