[Dbix-class] Per the design of a method
dorian taylor
dorian.taylor.lists at gmail.com
Thu Jun 16 16:03:21 GMT 2011
Hi,
I'm trying to design a method which, while it paginates the contents
of a query, also knows the full number of records available.
To keep superfluous parameters down I'd like to just pass in a
ResultSet, but by then the pagination information is baked into the
object's attributes and I'm not sure if there's a way to either modify
it or get it out so that I can run a full count.
What would you do?
--
Dorian Taylor
http://doriantaylor.com/
More information about the DBIx-Class
mailing list