# Else

fun Else(result: Expression<R>): ValueCaseWhenElse<T, R>

Adds an ELSE clause with an expression result, completing the CASE statement.

#### Return

A completed ValueCaseWhenElse instance

#### Parameters

result

The expression to return if no WHEN conditions match

fun Else(result: R, resultType: IColumnType<R & Any>? = null): ValueCaseWhenElse<T, R>

Adds an ELSE clause with a literal result, completing the CASE statement.

#### Return

A completed ValueCaseWhenElse instance

#### Parameters

result

The literal value to return if no WHEN conditions match

resultType

Optional column type for the result value