Re-add limit=0 (or equivalent) to disable query pagination in REST and GraphQL APIs. #4126
Locked
dhaub-exelixis
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 1 reply
-
We're looking into bringing this back. I don't think removing it was intentional either way. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
As discussed in this discord thread: https://discord.com/channels/967097582721572934/1172339833381851176, my team and others make use of the now disabled
limit=0
feature to return all query results in one get request. Currently the documentation states that disabling pagination is only possible with the local API: https://payloadcms.com/docs/queries/pagination#disabling-pagination-within-local-apiIn the case of my team, we make use of a very high volume of data, that could often have tens of thousands of entries returned in a single query. While we could use a very large number as the limit param, it would be nice to just disable limiting all together.
Beta Was this translation helpful? Give feedback.
All reactions