Closed
Description
New Feature / Enhancement Checklist
- [ x ] I am not disclosing a vulnerability.
- [ x ] I am not just asking a question.
- [ x ] I have searched through existing issues.
Current Limitation
By default, all queries have a limit of 100 on the returned collection size. This limit can be changed by invoking query.limit(<some number>)
in JS or analogous methods in other SDKs, but this approach is cumbersome and error-prone.
I think that giving Parse-Server users an ability to change the default limit on the server side would be great.
Feature / Enhancement Description
Additional startup configuration option that changes the default query result size limit.
Proposed name: queryResultSizeLimit
Example Use Case
parse-server \
--publicServerURL https://domain/parse \
--appName app \
--databaseURI mongodb://localhost:27017/app \
--appId appId \
--queryResultSizeLimit 10000
Alternatives / Workarounds
The current workaround is to change the limit manually in all queries on the client side. If there are multiple clients, all of them need to perform these changes.