Defined in: packages/db/src/query/ir.ts:116
new UnionAll(queries): UnionAll;new UnionAll(queries): UnionAll;Defined in: packages/db/src/query/ir.ts:124
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:82
Internal
BaseExpression.__returnTypeBaseExpression.__returnTypequeries: QueryIR[];queries: QueryIR[];Defined in: packages/db/src/query/ir.ts:124
type: "unionAll";type: "unionAll";Defined in: packages/db/src/query/ir.ts:117
BaseExpression.typeBaseExpression.typeget alias(): string;get alias(): string;Defined in: packages/db/src/query/ir.ts:128
string