Defined in: packages/core/src/models/MergeQuery.ts:78
Extends ​
Constructors ​
Constructor ​
new MergeWhenClause(
matchType,action,condition?,options?):MergeWhenClause
Defined in: packages/core/src/models/MergeQuery.ts:85
Parameters ​
matchType ​
action ​
condition? ​
ValueComponent | null
options? ​
thenLeadingComments? ​
string[] | null
Returns ​
MergeWhenClause
Overrides ​
Properties ​
kind ​
statickind:symbol
Defined in: packages/core/src/models/MergeQuery.ts:79
Overrides ​
matchType ​
matchType:
MergeMatchType
Defined in: packages/core/src/models/MergeQuery.ts:80
condition ​
condition:
ValueComponent|null
Defined in: packages/core/src/models/MergeQuery.ts:81
action ​
action:
MergeAction
Defined in: packages/core/src/models/MergeQuery.ts:82
comments ​
comments:
string[] |null=null
Defined in: packages/core/src/models/SqlComponent.ts:29
Inherited from ​
positionedComments ​
positionedComments:
PositionedComment[] |null=null
Defined in: packages/core/src/models/SqlComponent.ts:32
Inherited from ​
SqlComponent.positionedComments
Methods ​
addThenLeadingComments() ​
addThenLeadingComments(
comments):void
Defined in: packages/core/src/models/MergeQuery.ts:100
Parameters ​
comments ​
string[]
Returns ​
void
getThenLeadingComments() ​
getThenLeadingComments():
string[]
Defined in: packages/core/src/models/MergeQuery.ts:114
Returns ​
string[]
getKind() ​
getKind():
symbol
Defined in: packages/core/src/models/SqlComponent.ts:15
Returns ​
symbol
Inherited from ​
accept() ​
accept<
T>(visitor):T
Defined in: packages/core/src/models/SqlComponent.ts:19
Type Parameters ​
T ​
T
Parameters ​
visitor ​
SqlComponentVisitor<T>
Returns ​
T
Inherited from ​
toSqlString() ​
toSqlString(
formatter):string
Defined in: packages/core/src/models/SqlComponent.ts:23
Parameters ​
formatter ​
SqlComponentVisitor<string>
Returns ​
string
Inherited from ​
addPositionedComments() ​
addPositionedComments(
position,comments):void
Defined in: packages/core/src/models/SqlComponent.ts:37
Add comments at a specific position
Parameters ​
position ​
"before" | "after"
comments ​
string[]
Returns ​
void
Inherited from ​
SqlComponent.addPositionedComments
getPositionedComments() ​
getPositionedComments(
position):string[]
Defined in: packages/core/src/models/SqlComponent.ts:56
Get comments for a specific position
Parameters ​
position ​
"before" | "after"
Returns ​
string[]
Inherited from ​
SqlComponent.getPositionedComments
getAllPositionedComments() ​
getAllPositionedComments():
string[]
Defined in: packages/core/src/models/SqlComponent.ts:66
Get all positioned comments as a flat array in order (before, after)
Returns ​
string[]