Preparing search index...
The search index is not available
@sequeljs/ast
@sequeljs/ast
Managers
UpdateManager
Class UpdateManager
Hierarchy
TreeManager
<
UpdateManager
,
UpdateStatement
>
default
<
UpdateStatement
>
UpdateManager
Index
Constructors
constructor
Properties
ast
ctx
Accessors
key
wheres
Methods
coalesce
create
And
create
False
create
Join
create
On
create
String
Join
create
Table
Alias
create
True
grouping
lower
offset
order
set
table
take
toSQL
where
Constructors
constructor
new
Update
Manager
(
)
:
UpdateManager
Returns
UpdateManager
Properties
Readonly
ast
ast
:
UpdateStatement
Protected
ctx
ctx
:
UpdateStatement
Accessors
key
get
key
(
)
:
any
Returns
any
set
key
(
val
)
:
void
Parameters
val
:
any
Returns
void
wheres
set
wheres
(
val
)
:
void
Parameters
val
:
S
[
"wheres"
]
Returns
void
Methods
coalesce
coalesce
(
...
exprs
)
:
NamedSQLFunction
Parameters
Rest
...
exprs
:
any
[]
Returns
NamedSQLFunction
create
And
create
And
(
clauses
)
:
And
Parameters
clauses
:
any
[]
Returns
And
create
False
create
False
(
)
:
False
Returns
False
create
Join
create
Join
(
to
)
:
InnerJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
Returns
InnerJoin
create
Join
(
to
,
constraint
)
:
InnerJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Returns
InnerJoin
create
Join
(
to
,
constraint
,
Klass
)
:
FullOuterJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Klass
:
typeof
FullOuterJoin
Returns
FullOuterJoin
create
Join
(
to
,
constraint
,
Klass
)
:
InnerJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Klass
:
typeof
InnerJoin
Returns
InnerJoin
create
Join
(
to
,
constraint
,
Klass
)
:
OuterJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Klass
:
typeof
OuterJoin
Returns
OuterJoin
create
Join
(
to
,
constraint
,
Klass
)
:
RightOuterJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Klass
:
typeof
RightOuterJoin
Returns
RightOuterJoin
create
Join
(
to
,
constraint
,
Klass
)
:
StringJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
constraint
:
any
Klass
:
typeof
StringJoin
Returns
StringJoin
create
On
create
On
(
expr
)
:
On
Parameters
expr
:
any
Returns
On
create
String
Join
create
String
Join
(
to
)
:
StringJoin
Parameters
to
:
null
|
string
|
SQLLiteral
|
Relation
Returns
StringJoin
create
Table
Alias
create
Table
Alias
(
relation
,
name
)
:
TableAlias
Parameters
relation
:
Relation
|
Grouping
name
:
string
|
SQLLiteral
Returns
TableAlias
create
True
create
True
(
)
:
True
Returns
True
grouping
grouping
(
expr
)
:
Grouping
Parameters
expr
:
any
Returns
Grouping
lower
lower
(
column
)
:
NamedSQLFunction
Parameters
column
:
any
Returns
NamedSQLFunction
offset
offset
(
offset
)
:
default
<
UpdateStatement
>
Parameters
offset
:
any
Returns
default
<
UpdateStatement
>
order
order
(
...
expr
)
:
default
<
UpdateStatement
>
Parameters
Rest
...
expr
:
any
[]
Returns
default
<
UpdateStatement
>
set
set
(
values
)
:
UpdateManager
Parameters
values
:
any
Returns
UpdateManager
table
table
(
table
)
:
UpdateManager
Parameters
table
:
null
|
SQLLiteral
|
Relation
|
JoinSource
Returns
UpdateManager
take
take
(
limit
)
:
default
<
UpdateStatement
>
Parameters
limit
:
any
Returns
default
<
UpdateStatement
>
toSQL
toSQL
(
engine
?
)
:
null
|
string
Parameters
engine
:
undefined
|
null
|
Engine
= undefined
Returns
null
|
string
where
where
(
this
,
expr
)
:
UpdateManager
Parameters
this
:
UpdateManager
expr
:
any
Returns
UpdateManager
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
ast
ctx
key
wheres
coalesce
create
And
create
False
create
Join
create
On
create
String
Join
create
Table
Alias
create
True
grouping
lower
offset
order
set
table
take
toSQL
where
@sequeljs/ast
Attributes
Collectors
Errors
Interfaces
Managers
Delete
Manager
Insert
Manager
Select
Manager
Tree
Manager
Update
Manager
Nodes
Visitors
Table
SequelAST
Generated using
TypeDoc