[Dbix-class] Pager offset not implemented?
Nigel Metheringham
nigel.metheringham at dev.intechnology.co.uk
Mon Nov 21 17:51:47 CET 2005
On Mon, 2005-11-21 at 17:16 +0100, Krzysztof Krzyzaniak wrote:
> Nigel Metheringham wrote:
> > In the documentation for DBIX::Class::Recordset (version
> > DBIx-Class-0.03003), the offset search attribute is stated as selecting
> > the initial page returned of a paged result set.
> >
> > That doesn't seem to work when I try it in my code - instead I need to
> > do:-
> > my $items = $class->search({},
> > {page => 1,
>
> some 'order_by' => some_field would be handy.
True - I was happy with DB order in this case. But will check that.
> Which database? Postgresql seems to work.
SQLite (version 3).
Adding an order_by did not change the effects here...
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]
More information about the Dbix-class
mailing list