:P
my @tickers = $schema ->resultset('TickerTable') ->search({}, { order_by => \"RAND()", columns => ['DisplayName'], rows => 20 });
String refs (\"") are used as literals to the DB in this case.
In reply to Re: How to select limited rows randomly in DBIx::Class?
by Your Mother
in thread How to select limited rows randomly in DBIx::Class?
by phildeman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |