Repository navigation
I have a Query that uses offset-style pagination; how to approach? #208
Unanswered
shaunatparallel
asked this question in
Q&A
Replies: 2 comments 1 reply
|
yes, you need to loop, see https://github.com/profusion/sgqlc/blob/master/examples/github/github_agile_dashboard.py#L203-L206 |
1 reply
|
Cross-linking during the issue cleanup: the older automatic-pagination request #38 has been closed as stale, with a link back here. An offset-based API without nodes/edges or cursors cannot use Relay cursor pagination directly. Reuse an operation with an offset variable, advance it for each page, and stop using the API's documented termination rule. A generic automatic-pagination helper has not been implemented. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a Query that takes offset and returns 10 of the object at a given time. Is there a way to use Relay or some other pagniation approach to grab this?
The simple way would just to be a for loop and update the offset number every iteration.
All reactions