Skip to content

Conversation

elliot14A
Copy link
Contributor

@elliot14A elliot14A commented Nov 26, 2022

closes #229
Supports pagination in rest and graphql endpoints when parameter page is passed along with limit.
Skips (page-1)*limit in table responses.

example:

localhost:8080/api/tables/table_name?limit=100&page=2
localhost:8080/api/graphql

body:
query { table_name(page:2, limit:100) {col1, col2} }

fetches next 100 responses from the table

@elliot14A elliot14A changed the title Added Pagination resolve issue #226 Added Pagination resolve issue #229 Nov 26, 2022
@elliot14A elliot14A changed the title Added Pagination resolve issue #229 Added Pagination closesissue #229 Nov 26, 2022
@elliot14A elliot14A changed the title Added Pagination closesissue #229 Added Pagination closes issue #229 Nov 26, 2022
@elliot14A elliot14A changed the title Added Pagination closes issue #229 Added Pagination closes #229 Nov 26, 2022
@houqp
Copy link
Member

houqp commented Nov 27, 2022

Thank you @elliot14A !

@houqp houqp merged commit c0bff95 into roapi:main Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Pagination
3 participants