Thread
-
Missing jsonb_ ... functions on DOCs
Marcos Pegoraro <marcos@f10.com.br> — 2026-05-10T16:49:51Z
None of these functions are documented, Is this intentional ? If not, how can these functions be there ? An additional table right after operators ? Just a comment on the correspondent operator ? -- jsonb_exists - corresponds to ? operator select jsonb_exists('{"a":null, "b":"qq"}', 'a'); select '{"a":null, "b":"qq"}'::jsonb ? 'a'; -- jsonb_exists_any - corresponds to ?| operator select jsonb_exists_any('{"a":null, "b":"qq"}', ARRAY['a','c']); select '{"a":null, "b":"qq"}'::jsonb ?| ARRAY['a','c']; -- jsonb_exists_all - corresponds to ?& operator select jsonb_exists_all('{"a":null, "b":"qq"}', ARRAY['a','b']); select '{"a":null, "b":"qq"}'::jsonb ?& ARRAY['a','b']; -- jsonb_contains - corresponds to @> operator select jsonb_contains('{"a":null, "b":"qq"}', '{"b":"qq"}'); select '{"a":null, "b":"qq"}'::jsonb @> '{"b":"qq"}'; -- jsonb_contained - corresponds to <@ operator select jsonb_contained('{"b":"qq"}','{"a":null, "b":"qq"}'); select '{"b":"qq"}' <@ '{"a":null, "b":"qq"}'::jsonb; -- jsonb_concat - corresponds to || operator select jsonb_concat('{"b":"qq"}','{"a":null}'); select '{"b":"qq"}'::jsonb || '{"a":null}'::jsonb; -- jsonb_delete - corresponds to - operator select jsonb_delete('{"b":"qq", "a":null}','b'); select '{"b":"qq", "a":null}'::jsonb - 'b' -- jsonb_delete_path - corresponds to #- operator select jsonb_delete_path('{"a":1, "b": {"c": 5, "d":3}}'::jsonb, '{b,c}'); select '{"a":1, "b": {"c": 5, "d":3}}'::jsonb #- '{b,c}'; regards Marcos