Skip to main content

mysql_json_array_insert

Function mysql_json_array_insert 

Source
pub fn mysql_json_array_insert(
    args: &[Value<'_>],
) -> Result<Value<'static>, EvalError>
Expand description

v7.37.17 (17.6 siblings) — MySQL JSON_ARRAY_INSERT(doc, path, val, …). The path must end in [N]; the value is inserted at position N in the parent array, shifting later elements right (past-the-end appends). A non-array parent is a no-op.