json_array_contains_udf

Function json_array_contains_udf 

Source
pub fn json_array_contains_udf() -> ScalarUDF
Expand description

Create the json_array_contains UDF for checking if array contains a value

§Arguments

  • First parameter: JSONB binary data (LargeBinary)
  • Second parameter: JSONPath to array location (Utf8)
  • Third parameter: Value to search for as string (Utf8)

§Returns

Boolean indicating whether the array contains the specified value