Polyglot SQL API Documentation - v0.9.2
GitHub
npm
Preparing search index...
CaseBuilder
Class CaseBuilder
Index
Constructors
constructor
Methods
build
else_
to
Sql
when
Constructors
constructor
new
CaseBuilder
(
expression
?:
compat
.
Expression
)
:
CaseBuilder
Parameters
expression
:
compat
.
Expression
= ...
Returns
CaseBuilder
Methods
build
build
()
:
Expr
Returns
Expr
else_
else_
(
result
:
ExprInput
)
:
this
Parameters
result
:
ExprInput
Returns
this
to
Sql
toSql
(
dialect
?:
string
)
:
string
Parameters
dialect
:
string
= 'generic'
Returns
string
when
when
(
condition
:
ExprInput
,
result
:
ExprInput
)
:
this
Parameters
condition
:
ExprInput
result
:
ExprInput
Returns
this
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
else_
to
Sql
when
GitHub
npm
Polyglot SQL API Documentation - v0.9.2
Loading...