incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Ogden <>
Subject Re: Pagination in couchdb
Date Thu, 21 Jul 2011 08:02:12 GMT
hiiii there

to do startkey_docid you have to specify both startkey and startkey_docid.
here's an example working query scroll to the bottom of the page to kick off the infinite
scroll and then look at your XHR activity)

you can also do pagination using just skip:



On Thu, Jul 21, 2011 at 12:54 AM, Monica Razdan <> wrote:

> Hello,
> I'm a newbie to couchdb v1.1.0. I have been struggling with implementation
> of pagination in couchdb. I have been through the guide and wiki pages to
> understand the concept of startkey and startkey_docid to implement
> pagination however I am unable to understand the implementation part. Do I
> need to set startkey in my query ? I am using couchapp for building my
> _attachments and views. Is there a way to achieve pagination without
> getting
> around to use path binders?
> Thanks,
> Monica

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message