You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In http://guide.couchdb.org/draft/recipes.html you explain a simple pagination system using startkey. However, you don't really explain how the "previous" link is going to work. The only explanation you provide is this:
Populating the link to the previous page is as simple as carrying the current startkey over to the next page. If there’s no previous startkey, we are on the first page.
This works when moving from page 4 to page 5 (just remember the link to page 4), but it cannot work when moving from page 5 to page 4 (there's no way for page 5 to know that what the startkey of page 3 should be). So, I suspect there's another detail here that you did not mention.
The text was updated successfully, but these errors were encountered:
In http://guide.couchdb.org/draft/recipes.html you explain a simple pagination system using startkey. However, you don't really explain how the "previous" link is going to work. The only explanation you provide is this:
This works when moving from page 4 to page 5 (just remember the link to page 4), but it cannot work when moving from page 5 to page 4 (there's no way for page 5 to know that what the startkey of page 3 should be). So, I suspect there's another detail here that you did not mention.
The text was updated successfully, but these errors were encountered: