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