in reply to Re-using DBIx ResultSet with different parameters
Hi MattLG,
have you thought about using
INin your select?
In the doc DBIx::ResultSet::Cookbook under subselects.
Adapted from the doc you could do this (untested):
$items->search({ 'joined_table.column' => {-in => \@values } });
|
---|
In Section
Seekers of Perl Wisdom