Module if_func
common_
function
1.0.0-beta.2
Module if_func
Module Items
Structs
Constants
Functions
In common_
function::
scalars::
expression
common_function
::
scalars
::
expression
Module
if_func
Copy item path
Source
Structs
ยง
IfFunction
MySQL-compatible IF function: IF(condition, true_value, false_value)
Constants
ยง
NAME
๐
Functions
ยง
array_
to_
bool
๐
Convert an Array to BooleanArray using MySQL truthy rules
float_
array_
to_
bool
๐
Convert a float PrimitiveArray to BooleanArray using MySQL truthy rules: NULL -> false, 0 (including -0.0) -> false, NaN -> true, other non-zero -> true
int_
array_
to_
bool
๐
Convert an integer PrimitiveArray to BooleanArray using MySQL truthy rules: NULL -> false, 0 -> false, non-zero -> true
to_
boolean_
array
๐
Convert a ColumnarValue to a BooleanArray using MySQL truthy rules: