Skip to main content

path_walk

Function path_walk 

Source
pub fn path_walk(
    lhs: &Value,
    rhs: &Value,
    as_text: bool,
) -> Result<Value, EvalError>
Expand description

v6.4.5 — PG json #> path_text / json #>> path_text. The right-hand side is a PG text-array literal '{a,0,b}' whose elements are walked left-to-right; each element is either an object key or (when it parses as a non-negative integer) an array index. Missing or non-existent steps return Value::Null.