Set the ELSE <value> branch. Optional — omitting it yields an implicit SQL NULL.
Render the CASE expr WHEN ... END SQL fragment (no alias).
Terminal call: returns an [expr, alias] tuple compatible with the
existing attributes: [...] pattern.
Use the builder directly wherever a raw SQL literal expression is expected.
Fluent builder for a "simple" CASE expression: CASE expr WHEN val1 THEN result1 WHEN val2 THEN result2 ... ELSE else END
Build with
caseOf(expr). Terminate with.as(alias)or.toSQL()/.toLiteral().