in reply to Get top N rows in each group with DBIx::Class
The Documentation says:my $rs = $schema->resultset('Artist')->search( undef, { rows => 10, } );
rows
Value: $rows
Specifies the maximum number of rows for direct retrieval or the number of rows per page if the page attribute or method is used.
All power corrupts, but we need electricity.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get top N rows in each group with DBIx::Class
by 1nickt (Canon) on Nov 26, 2017 at 03:18 UTC |