toggle menu
4.1.1
jvm
switch theme
search in API
ktorm-core
/
org.ktorm.dsl
/
ELSE
ELSE
fun
<
T
:
Any
,
R
:
Any
>
CaseWhen
<
T
,
R
>
.
ELSE
(
result
:
ColumnDeclaring
<
R
>
)
:
CaseWhen
<
T
,
R
>
(
source
)
inline
fun
<
T
:
Any
,
R
:
Any
>
CaseWhen
<
T
,
R
>
.
ELSE
(
result
:
R
,
sqlType
:
SqlType
<
R
>
=
SqlType.of() ?: error("Cannot detect the argument's SqlType, please specify manually.")
)
:
CaseWhen
<
T
,
R
>
(
source
)
Specifies the else clause for the case-when DSL.