Skip to main content

Class: SelectSetOp

Defined in: lang-sql/src/ast/select.ts:73

A set operation linking this query body to the next.

Implements

Constructors

Constructor

new SelectSetOp(next, distinct, type): SelectSetOp

Defined in: lang-sql/src/ast/select.ts:77

Parameters

ParameterTypeDescription
nextSelectSetThe following SELECT body.
distinctbooleantrue for UNION/INTERSECT/EXCEPT DISTINCT, false for ALL.
typestring-

Returns

SelectSetOp

Properties

distinct

distinct: boolean

Defined in: lang-sql/src/ast/select.ts:81

true for UNION/INTERSECT/EXCEPT DISTINCT, false for ALL.


next

next: SelectSet

Defined in: lang-sql/src/ast/select.ts:79

The following SELECT body.


type

type: SelectSetOpType

Defined in: lang-sql/src/ast/select.ts:75

The operation type (UNION, INTERSECT, or EXCEPT).

Methods

accept()

accept<Ret, Arg>(visitor, arg?): Ret

Defined in: lang-sql/src/ast/select.ts:87

Dispatches this node to the matching method on visitor.

Type Parameters

Type Parameter
Ret
Arg

Parameters

ParameterType
visitorSQLVisitor<Ret, Arg>
arg?Arg

Returns

Ret

Implementation of

ASTNode.accept