I try to
$conn->search(
{ 'Conn_1.rid' => $tid, 'Conn_2.rid' => $pid, 'Conn_1.gid' =>
'Conn_2.gid' },
{ join => [ 'Conn', 'Conn' ] }
);
as mentioned in the Join-docs,
but get this error :
DBIx::Class::ResultSet::next(): No such relationship Conn ....
But I don't have to define any relation if it is using the same table, right ?
Second question : If I use auto loader, how can I still use the
autoloader, but add some modification to the classes ? thanx
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/