remove key from jsonb postres code example
Example: jsonb_set remove key
> select '{"a": 1, "b": 2}'::jsonb - 'a';
?column?
----------
{"b": 2}
(1 row)
> select '{"a": 1, "b": 2}'::jsonb - 'a';
?column?
----------
{"b": 2}
(1 row)