Skip to main content

json_get_bool_udf

Function json_get_bool_udf 

Source
pub fn json_get_bool_udf() -> ScalarUDF
Expand description

Create the json_get_bool UDF for getting a boolean value

§Arguments

  • First parameter: JSONB binary data (LargeBinary)
  • Second parameter: Field name or array index as string (Utf8)

§Returns

Boolean value with flexible type coercion (strings like ‘true’/‘yes’/‘1’ become true)