fn jsonb_remove_keys(v: JsonbRef<'_>, keys: ListRef<'_>) -> Result<JsonbVal>
Expand description
Deletes all matching keys or array elements from the left operand.
Examples:
query T
SELECT '{"a": "b", "c": "d"}'::jsonb - '{a,c}'::text[];
----
{}
query error cannot delete from scalar
SELECT '1'::jsonb - '{a,c}'::text[];