Hi,
I wanted to add an extra condition in a join like this:
$lite_schema->class('Thingy')->add_relationship(
"fixed_position",
"Foo::Bar",
{ 'foreign.thingy_number' => 'self.thingy_num', 'foreign.library' => { '='
=> $library}},
{ join_type => 'left outer'}
);
Seems a reasonable $cond argument to me, but:
DBIx::Class::ResultSet::next(): Invalid rel cond val HASH(0x830f0c0)
Seems like the second part ('foreign.library' => { '=' => $library}) of the
$cond is not correct after all ?
What I am doing wrong here ?
Thanks and regards,
Marc
_______________________________________________
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]