feat: add option to change the default value of the Parse.Query.limit() constraint (#8152)
This commit is contained in:
@@ -155,6 +155,12 @@ module.exports.ParseServerOptions = {
|
||||
required: true,
|
||||
default: 'mongodb://localhost:27017/parse',
|
||||
},
|
||||
defaultLimit: {
|
||||
env: 'PARSE_SERVER_DEFAULT_LIMIT',
|
||||
help: 'Default value for limit option on queries, defaults to `100`.',
|
||||
action: parsers.numberParser('defaultLimit'),
|
||||
default: 100,
|
||||
},
|
||||
directAccess: {
|
||||
env: 'PARSE_SERVER_DIRECT_ACCESS',
|
||||
help:
|
||||
|
||||
Reference in New Issue
Block a user