LogoRobo.js
Framework

DEFAULT SAFETY CONFIG

Variable: DEFAULT_SAFETY_CONFIG

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

Alias for safety config (used by query operations).

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