in reply to DBIx and ManyToMany Relationships
Try this:
$c->stash( repos => [ $c->model('ORIdatabase::Repo')->search( {} { join => {'contentlinks' => 'repo'}, prefetch => {'contentlinks' => 'repo'}, rows => '10' } ) ] );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DBIx and ManyToMany Relationships
by tospo (Hermit) on May 30, 2012 at 10:09 UTC | |
by kiz (Monk) on May 30, 2012 at 11:22 UTC | |
Re^2: DBIx and ManyToMany Relationships
by kiz (Monk) on May 30, 2012 at 10:43 UTC | |
by tospo (Hermit) on May 30, 2012 at 11:14 UTC | |
by kiz (Monk) on May 30, 2012 at 14:10 UTC |
In Section
Seekers of Perl Wisdom