See also Helper::ResultSet::Random which would (I believe) give the lovely syntax:
my @tickers = $schema->resultset( 'TickerTable' )->rand(20)->search({} +, { columns => ['DisplayName'] });
Good Day,
Dean
In reply to Re: How to select limited rows randomly in DBIx::Class?
by duelafn
in thread How to select limited rows randomly in DBIx::Class?
by phildeman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |