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
| Parameter | Type | Description |
|---|---|---|
next | SelectSet | The following SELECT body. |
distinct | boolean | true for UNION/INTERSECT/EXCEPT DISTINCT, false for ALL. |
type | string | - |
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
| Parameter | Type |
|---|---|
visitor | SQLVisitor<Ret, Arg> |
arg? | Arg |
Returns
Ret