api-docs / org.ktorm.dsl / WHEN
WHEN
fun <T : Any, R : Any> CaseWhen<T, R>.WHEN(
condition: ColumnDeclaring<T>
): WhenContinuation<T, R>
(source code)inline fun <reified T : Any, R : Any> CaseWhen<T, R>.WHEN(
condition: T,
sqlType: SqlType<T> = SqlType.of() ?: error("Cannot detect the argument's SqlType, please specify manually.")
): WhenContinuation<T, R>
(source code)Starts a when clause with the given condition.