Skip to main content

replace_int_with_bool

Function replace_int_with_bool 

Source
pub fn replace_int_with_bool(expr: Expression) -> Result<Expression>
Expand description

Replace integer literals for dialects that prefer boolean

Converts 1/0 to TRUE/FALSE