pub fn path_query_array(doc: &Value, path: &Value) -> Result<Value, EvalError>
v7.17.0 Phase 3.9 — jsonb_path_query_array(doc, path) returns the matched values wrapped as a single JSON array.
jsonb_path_query_array(doc, path)