Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsonb_set remove key

> select '{"a": 1, "b": 2}'::jsonb - 'a';
 ?column?
----------
 {"b": 2}
(1 row)
Source by til.hashrocket.com #
 
PREVIOUS NEXT
Tagged: #remove #key
ADD COMMENT
Topic
Name
2+8 =