api-docs / org.ktorm.dsl / THEN
THEN
@JvmName("firstTHEN") fun <T : Any, R : Any> WhenContinuation<T, Nothing>.THEN(
result: ColumnDeclaring<R>
): CaseWhen<T, R>
(source code)@JvmName("firstTHEN") inline fun <T : Any, reified R : Any> WhenContinuation<T, Nothing>.THEN(
result: R,
sqlType: SqlType<R> = SqlType.of() ?: error("Cannot detect the argument's SqlType, please specify manually.")
): CaseWhen<T, R>
(source code)fun <T : Any, R : Any> WhenContinuation<T, R>.THEN(
result: ColumnDeclaring<R>
): CaseWhen<T, R>
(source code)inline fun <T : Any, reified R : Any> WhenContinuation<T, R>.THEN(
result: R,
sqlType: SqlType<R> = SqlType.of() ?: error("Cannot detect the argument's SqlType, please specify manually.")
): CaseWhen<T, R>
(source code)Finishes the current when clause with the given result.