javascript - How can make paging with nodejs and couchdb -
i made page wich show results search in database. how can pages not 1000 results want 100 pages 10 results in each? think sending server number of page? correct or there better method? thanks!
couchdb views, lists , _all_docs
uris have skip
, limit
parameters that.
for example, here uri 9th page of 10 results each:
http://acme.org:5984/artists/_design/artists/_view/by-name?skip=80&limit=10
for further details, please @ "pagination recipe" in couchdb official documentation.
Comments
Post a Comment