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