[Dbix-class] Changing pagers

Dan Horne dan.horne at redbone.co.nz
Tue Feb 12 20:11:07 GMT 2008


Will Hawes said:
> On 12/02/2008, Dan Horne wrote:

>> > Is there a simple way of changing the result set Pager? I'd like to
>> use
>> > Data::Page::Navigation instead of Data::Page
>> >
>
> grep shows that Data::Page is only referenced by
> DBIx::Class::ResultSet so off the top of my head I'd imagine you could
> subclass ResultSet, override the paging methods then use your custom
> class as described at
> http://search.cpan.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/Class/Manual/Cookbook.pod#Predefined_searches.
>
> This might of course be completely wrong though ;)

Ah, but now I know where to look and this seems promising




More information about the DBIx-Class mailing list