Skip to content

[GraphQL] When querying with apollo/client, only getting 5500 rows in maximum #742

Closed Answered by JCollinsX
dev-husky-corgi asked this question in Q&A
Discussion options

You must be logged in to vote

When I'm querying in backend from thegraph, the results are only available in 5,500 items even if they're controlled by skip and take params. Here is the query that I'm using. query MyQuery($pageSize: Int!, $skip: Int!, $timestamp: Int!) { objects( orderBy: timestamp orderDirection: desc first: $pageSize skip: $skip where: { timestamp_gt: $timestamp } ) { blockNumber id timestamp transactionHash } }

I'm getting this issue too but if you are changing where param, you should be able to get all rows.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dev-husky-corgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants