in reply to Re^3: DBIx and ManyToMany Relationships
in thread DBIx and ManyToMany Relationships
(Noting the comment below)
-- Ian Stuart
A man depriving some poor village, somewhere, of a first-class idiot.
The search model is currently:
$c->stash( repos => [ $c->model('ORIdatabase::Repo') ->search( {}, #$what, { join => {'contentlinks' => 'content'} , prefetch => {'contentlinks' => 'content'} , rows => $params->{'limit'} } ) ] );
And buried at the end of the hash/object returned are the data fields the query returns...
-- Ian Stuart
A man depriving some poor village, somewhere, of a first-class idiot.
|
---|
In Section
Seekers of Perl Wisdom