본문으로 건너뛰기

클래스: UnionAll

정의 위치: packages/db/src/query/ir.ts:124

상속​

  • BaseExpression

생성자​

생성자​

new UnionAll(queries): UnionAll;

정의 위치: packages/db/src/query/ir.ts:132

결과 수준에서 UNION ALL이 적용됩니다. 하위 쿼리 절들은 분기 소스 별칭이 아닌 union 결과 행의 형태를 참조합니다. 최적화기는 안전한 연산들을 분기들로 내보낼 수 있지만, 분기 하위 처리를 명시적으로 수행하지 않는 한 컴파일러 단계에서는 이를 파생된 관계로 취급해야 합니다.

매개변수​

queries​

QueryIR[]

반환값​

UnionAll

재정의된 메서드​

BaseExpression.constructor

속성​

__returnType​

readonly __returnType: any;

정의 위치: packages/db/src/query/ir.ts:84

Internal

  • TypeScript 추론을 위한 타입 브랜드

상속받은 속성​

BaseExpression.__returnType

queries​

queries: QueryIR[];

정의 위치: packages/db/src/query/ir.ts:132


type​

type: "unionAll";

정의 위치: packages/db/src/query/ir.ts:125

재정의된 메서드​

BaseExpression.type

접근자​

alias​

가져오기 시그니처​

get alias(): string;

정의 위치: packages/db/src/query/ir.ts:136

반환값​

string