Skip to main content

json_get_udf

Function json_get_udf 

Source
pub fn json_get_udf() -> ScalarUDF
Expand description

Create the json_get UDF for getting a field value as JSON string

§Arguments

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

§Returns

Raw JSONB bytes of the field value, or null if not found