api-docs / org.ktorm.dsl / ELSE
ELSE
fun <T : Any, R : Any> CaseWhen<T, R>.ELSE(
result: ColumnDeclaring<R>
): CaseWhen<T, R>
(source code)inline fun <T : Any, reified 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 code)Specifies the else clause for the case-when DSL.