2

I need to use pagination in my application. How can i achieve this with couchdb. I have looked up for online resources, they direct us to use startkey and limit with couchdb for pagination.

Could someone post a simple example please, it would be very helpful.

Thanks!

verdure
  • 3,201
  • 6
  • 26
  • 27

1 Answers1

5

You may check out this previous discussion.

There are multiple options to implement pagination over views, the most effective way is by following the algorithm mentioned on CouchDB guide.

If you are looking for a working example, you may check out this library, it's in Java.

Community
  • 1
  • 1
ahmedyha
  • 328
  • 1
  • 4
  • 8