couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <N.Breun...@vpro.nl>
Subject Re: Pagination in couchdb
Date Thu, 21 Jul 2011 08:20:26 GMT
Max Ogden wrote:

> you can also do pagination using just skip:
> https://github.com/maxogden/recline/blob/master/attachments/script/recline.js#L105(demo:
> http://max.couchone.com/senators/_design/recline/_rewrite)

I never tried it, but learned from the mailinglist that using skip for pagination is pretty
inefficient once you get to larger skip values.

Nils.
------------------------------------------------------------------------
 VPRO   www.vpro.nl
------------------------------------------------------------------------

Mime
View raw message