fn jsonb_exists_any(left: JsonbRef<'_>, keys: ListRef<'_>) -> bool
Expand description
Do any of the strings in the text array exist as top-level keys or array elements?
Examples:
query B
select '{"a":1, "b":2, "c":3}'::jsonb ?| array['b', 'd'];
----
t
query B
select '["a", "b", "c"]'::jsonb ?| array['b', 'd'];
----
t
query B
select '"b"'::jsonb ?| array['b', 'd'];
----
t