-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paging #2
Comments
This probably will require using something that can maintain state, like an |
paging notes per_page/page interface --- assuming max is > 20 limit/offset interface --- assuming max is > 20 |
moving to next milestone, trying to get MVP out #10 |
various paging patterns:
limit
&offset
- specify no. desired, and which record to start atper_page
&page
- specify no. desired, and which page to return (page size variable)next
,first
,last
, orprev
links - if these provided, in all cases should probably use these - Github recommends that at leastexamples
page
,per_page
limit
,offset
rows
,offset
limit
,offset
(Elasticsearch backed, but not exposed directly)limit
,cursor
pagesize
,startrow
limit
,offset
limit
,offset
page_size
,page
per_page
,page
rows
,start
(solr backed)rows
,start
(solr backed)rows
,start
(solr backed)rows
,start
(solr backed)page_size
,page
(Elasticsearch backed)count
(that's it, AFAICT, not sure this is accurate)limit
,page
approach
Automagically figure out what params to pass and their values given user input. We'll need some user input:
Things we can figure out automatically
The text was updated successfully, but these errors were encountered: