-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
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.
3rd Party References
mtrezza
Metadata
Metadata
Assignees
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature