LogoRobo.js
Framework

DEFAULT SAFETY LIMITS

Variable: DEFAULT_SAFETY_LIMITS

const DEFAULT_SAFETY_LIMITS: {
  maxBulkOperationWithoutWhere: 100;
  maxDefaultResults: 1000;
  warnResultsThreshold: 1000;
};

Default safety limits for queries.

Type declaration

NameTypeDefault valueDescription
maxBulkOperationWithoutWhere100100Maximum bulk operations allowed without a where clause.
maxDefaultResults10001_000Maximum records returned by findMany without explicit take.
warnResultsThreshold10001_000Threshold at which to warn about large result sets.

On this page