Represent a CASE expression (both simple and searched forms).
When operand is Some, this is a simple CASE (CASE x WHEN 1 THEN ...).
When operand is None, this is a searched CASE (CASE WHEN x > 0 THEN ...).
Each entry in whens is a (condition, result) pair.
Represent a CASE expression (both simple and searched forms).
When
operandisSome, this is a simple CASE (CASE x WHEN 1 THEN ...). WhenoperandisNone, this is a searched CASE (CASE WHEN x > 0 THEN ...). Each entry inwhensis a(condition, result)pair.