can we get response in chunks in grahpql API? #2626
Unanswered
hassan-index
asked this question in
Q&A
Replies: 1 comment
-
Don't set |
Beta Was this translation helpful? Give feedback.
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 registration api with data in the thousands. I want to retrieve it in chunks to avoid memory limit errors. I am using not a resolver; I am using the @pagiate directive. Can I get this data in chunks? i am calling this API in my backend laravel project.
query registrations($first: Int, $page: Int, $where: QueryRegistrationsWhereWhereConditions) { registrations(first: $first, page: $page, where: $where) { data { registration_id } paginatorInfo { count currentPage firstItem hasMorePages lastItem lastPage perPage total } } }
Beta Was this translation helpful? Give feedback.
All reactions