Polyglot SQL API Documentation - v0.9.2
GitHub
npm
Preparing search index...
MergeBuilder
Class MergeBuilder
Hierarchy
StatefulBuilder
MergeBuilder
Index
Constructors
constructor
Methods
build
free
to
Sql
using
when
Matched
Delete
when
Matched
Update
when
Not
Matched
Insert
Constructors
constructor
new
MergeBuilder
(
target
:
string
)
:
MergeBuilder
Parameters
target
:
string
Returns
MergeBuilder
Methods
build
build
()
:
unknown
Returns
unknown
free
free
()
:
void
Returns
void
to
Sql
toSql
(
dialect
?:
string
)
:
string
Parameters
dialect
:
string
= 'generic'
Returns
string
using
using
(
source
:
string
,
on
:
ExprInput
)
:
this
Parameters
source
:
string
on
:
ExprInput
Returns
this
when
Matched
Delete
whenMatchedDelete
(
condition
?:
ExprInput
)
:
this
Parameters
Optional
condition
:
ExprInput
Returns
this
when
Matched
Update
whenMatchedUpdate
(
assignments
:
Record
<
string
,
ExprInput
>
,
condition
?:
ExprInput
,
)
:
this
Parameters
assignments
:
Record
<
string
,
ExprInput
>
Optional
condition
:
ExprInput
Returns
this
when
Not
Matched
Insert
whenNotMatchedInsert
(
columns
:
string
[]
,
values
:
ExprInput
[]
,
condition
?:
ExprInput
,
)
:
this
Parameters
columns
:
string
[]
values
:
ExprInput
[]
Optional
condition
:
ExprInput
Returns
this
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
free
to
Sql
using
when
Matched
Delete
when
Matched
Update
when
Not
Matched
Insert
GitHub
npm
Polyglot SQL API Documentation - v0.9.2
Loading...