You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help: 'Configuration for push, as stringified JSON. See http://docs.parseplatform.org/parse-server/guide/#push-notifications',
513
513
action: parsers.objectParser,
514
514
},
515
+
query: {
516
+
env: 'PARSE_SERVER_QUERY',
517
+
help: 'Query-related server defaults.',
518
+
action: parsers.objectParser,
519
+
type: 'QueryServerOptions',
520
+
default: {},
521
+
},
515
522
rateLimit: {
516
523
env: 'PARSE_SERVER_RATE_LIMIT',
517
524
help: "Options to limit repeated requests to Parse Server APIs. This can be used to protect sensitive endpoints such as `/requestPasswordReset` from brute-force attacks or Parse Server as a whole from denial-of-service (DoS) attacks.<br><br>\u2139\uFE0F Mind the following limitations:<br>- rate limits applied per IP address; this limits protection against distributed denial-of-service (DDoS) attacks where many requests are coming from various IP addresses<br>- if multiple Parse Server instances are behind a load balancer or ran in a cluster, each instance will calculate it's own request rates, independent from other instances; this limits the applicability of this feature when using a load balancer and another rate limiting solution that takes requests across all instances into account may be more suitable<br>- this feature provides basic protection against denial-of-service attacks, but a more sophisticated solution works earlier in the request flow and prevents a malicious requests to even reach a server instance; it's therefore recommended to implement a solution according to architecture and use case.",
help: 'When `true`, all aggregation queries default to using native MongoDB field names (no automatic `createdAt` \u2192 `_created_at` rewriting). Individual queries can still override this via the `rawFieldNames` option. Default is `false`.',
792
+
action: parsers.booleanParser,
793
+
default: false,
794
+
},
795
+
aggregationRawValues: {
796
+
env: 'PARSE_SERVER_QUERY_AGGREGATION_RAW_VALUES',
797
+
help: 'When `true`, all aggregation queries default to using MongoDB Extended JSON (EJSON) for explicit value typing and skip schema-based value coercion. Individual queries can still override this via the `rawValues` option. Default is `false`.',
/* When `true`, all aggregation queries default to using MongoDB Extended JSON (EJSON) for explicit value typing and skip schema-based value coercion. Individual queries can still override this via the `rawValues` option. Default is `false`.
499
+
:ENV: PARSE_SERVER_QUERY_AGGREGATION_RAW_VALUES
500
+
:DEFAULT: false */
501
+
aggregationRawValues: ?boolean;
502
+
/* When `true`, all aggregation queries default to using native MongoDB field names (no automatic `createdAt` → `_created_at` rewriting). Individual queries can still override this via the `rawFieldNames` option. Default is `false`.
0 commit comments