ValueCaseWhen

constructor(value: ExpressionWithColumnType<T>)

Parameters

T

The type of the value being compared

R

The return type of the CASE expression

value

The expression whose value will be compared in WHEN clauses