Skip to main content

case_

Function case_ 

Source
pub fn case_() -> CaseBuilder
Expand description

A CASE expression: case_().when(cond, then).else_(other).

Named with a trailing underscore because case is not available as a plain identifier; the SQL is unaffected.