[Dbix-class] resultset paging
Timotheus Keefer
tkeefer at sunflowerbroadband.com
Fri Aug 10 19:25:26 GMT 2007
Is this method of paging no longer valid? It has worked in previous
versions of DBIC.
my $results = $schema->resultset('mytable')->search(
$search,
{
rows => 5,
page => $page,
}
);
my $rows = $results->page();
while ( my $row = $rows->next ) {
}
It appears the page number is now required, or at least it works
correctly, when calling page() on the result set with the page number.
$results->page($page);
Thanks,
Tim
More information about the DBIx-Class
mailing list