Defined in: packages/db/src/query/ir.ts:183
new UnionAll(queries): UnionAll;new UnionAll(queries): UnionAll;Defined in: packages/db/src/query/ir.ts:191
Result-level UNION ALL. Downstream query clauses see the union result row shape, not the branch source aliases. Optimizers may push safe operations into branches, but compiler phases should treat this as a derived relation unless they are explicitly handling branch lowering.
QueryIR[]
UnionAll
BaseExpression.constructorBaseExpression.constructorreadonly __returnType: any;readonly __returnType: any;Defined in: packages/db/src/query/ir.ts:83
Internal
BaseExpression.__returnTypeBaseExpression.__returnTypequeries: QueryIR[];queries: QueryIR[];Defined in: packages/db/src/query/ir.ts:191
type: "unionAll";type: "unionAll";Defined in: packages/db/src/query/ir.ts:184
BaseExpression.typeBaseExpression.typeget alias(): string;get alias(): string;Defined in: packages/db/src/query/ir.ts:195
string