Why I can not get all users at once while using PostGQL?
It just returns first 100 users while using GraphQL but works fine with a GET request.
{
users(limit: 101, sort: "username") {
id
username
}
}
Using Get Method returns full set!
I can get the full data set by GET /users?_limit=-1
if I use GET
NOTE: using limit: -1
does not work either.
{
users(limit: -1) {
id
username
}
}
The default amountLimit
for the GraphQL plugin is 100. You can change this limit as stated here