Preparing search index...
The search index is not available
@sequeljs/ast
@sequeljs/ast
Table
Class Table
Hierarchy
default
default
default
Table
Implements
TypeCaster
Index
Constructors
constructor
Properties
ast
ctx
name
table
Alias
type
Caster
Accessors
table
Name
Methods
alias
coalesce
compile
Delete
compile
Insert
compile
Update
create
And
create
False
create
Insert
create
Join
create
On
create
String
Join
create
Table
Alias
create
True
from
get
group
grouping
having
is
Able
To
Type
Cast
join
lower
order
outer
Join
project
skip
take
type
Cast
For
Database
where
Constructors
constructor
new
Table
(
name
,
as
?
,
typeCaster
?
)
:
Table
Parameters
name
:
string
as
:
null
|
string
|
TableAlias
= null
typeCaster
:
any
= null
Returns
Table
Properties
Readonly
Abstract
ast
ast
:
SelectStatement
Protected
Abstract
ctx
ctx
:
SelectCore
name
name
:
string
table
Alias
table
Alias
:
null
|
string
|
TableAlias
Protected
type
Caster
type
Caster
:
TypeCaster
Accessors
table
Name
get
tableName
(
)
:
string
Returns
string
Methods
alias
alias
(
name
?
)
:
TableAlias
Parameters
name
:
null
|
string
= null
Returns
TableAlias
coalesce
coalesce
(
...
exprs
)
:
NamedSQLFunction
Parameters
Rest
...
exprs
:
any
[]
Returns
NamedSQLFunction
compile
Delete
compile
Delete
(
)
:
DeleteManager
Returns
DeleteManager
compile
Insert
compile
Insert
(
values
)
:
InsertManager
Parameters
values
:
any
Returns
InsertManager
compile
Update
compile
Update
(
values
,
pk
)
:
UpdateManager
Parameters
values
:
any
pk
:
any
Returns
UpdateManager
create
And
create
And
(
clauses
)
:
And
Parameters
clauses
:
any
[]
Returns
And
create
False
create
False
(
)
:
False
Returns
False
create
Insert
create
Insert
(
)
:
InsertManager
Returns
InsertManager
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
from
from
(
)
:
SelectManager
Returns
SelectManager
get
get
(
name
)
:
Attribute
Parameters
name
:
string
|
SQLLiteral
Returns
Attribute
group
group
(
...
columns
)
:
SelectManager
Parameters
Rest
...
columns
:
(
string
|
Attribute
)
[]
Returns
SelectManager
grouping
grouping
(
expr
)
:
Grouping
Parameters
expr
:
any
Returns
Grouping
having
having
(
expr
)
:
SelectManager
Parameters
expr
:
any
Returns
SelectManager
is
Able
To
Type
Cast
is
Able
To
Type
Cast
(
)
:
boolean
Returns
boolean
join
join
(
relation
,
klass
?
)
:
SelectManager
Parameters
relation
:
null
|
string
|
SQLLiteral
|
Relation
klass
:
typeof
Join
= InnerJoin
Returns
SelectManager
lower
lower
(
column
)
:
NamedSQLFunction
Parameters
column
:
any
Returns
NamedSQLFunction
order
order
(
...
expr
)
:
SelectManager
Parameters
Rest
...
expr
:
any
[]
Returns
SelectManager
outer
Join
outer
Join
(
relation
)
:
SelectManager
Parameters
relation
:
null
|
string
|
SQLLiteral
|
Relation
Returns
SelectManager
project
project
(
...
things
)
:
SelectManager
Parameters
Rest
...
things
:
any
[]
Returns
SelectManager
skip
skip
(
amount
)
:
SelectManager
Parameters
amount
:
any
Returns
SelectManager
take
take
(
amount
)
:
SelectManager
Parameters
amount
:
any
Returns
SelectManager
type
Cast
For
Database
type
Cast
For
Database
(
attributeName
,
value
)
:
string
|
number
Parameters
attributeName
:
string
|
SQLLiteral
value
:
Visitable
Returns
string
|
number
where
where
(
condition
)
:
SelectManager
Parameters
condition
:
any
Returns
SelectManager
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
ast
ctx
name
table
Alias
type
Caster
table
Name
alias
coalesce
compile
Delete
compile
Insert
compile
Update
create
And
create
False
create
Insert
create
Join
create
On
create
String
Join
create
Table
Alias
create
True
from
get
group
grouping
having
is
Able
To
Type
Cast
join
lower
order
outer
Join
project
skip
take
type
Cast
For
Database
where
@sequeljs/ast
Attributes
Collectors
Errors
Interfaces
Managers
Nodes
Visitors
Table
SequelAST
Generated using
TypeDoc