Variable: DEFAULT\_ROW\_CAP
const DEFAULT_ROW_CAP: 10000 = 10_000;Defined in: server/insights/compiler/compile.ts:44
The governed compiler. Turns a validated ReportDefinition into
parameterized PrismaSql.Sql, with three non-negotiable invariants:
- The compiler-injected tenant predicate is ALWAYS the first
WHEREconjunct, cast per the subject'stenantColumnType. - Every user value is a bind param; only registry-validated identifiers
(re-checked in
identifiers.ts) and closed-enum keywords reach the SQL text. - The tenant column is unreferenceable from the definition (the registry forbade binding it as a field).