Defined in: packages/db/src/query/ir.ts:124
new UnionAll(queries): UnionAll;Defined in: packages/db/src/query/ir.ts:132
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.constructorreadonly __returnType: any;Defined in: packages/db/src/query/ir.ts:84
Internal
BaseExpression.__returnTypequeries: QueryIR[];Defined in: packages/db/src/query/ir.ts:132
type: "unionAll";Defined in: packages/db/src/query/ir.ts:125
BaseExpression.typeget alias(): string;Defined in: packages/db/src/query/ir.ts:136
string