Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsonb_set

UPDATE "Example" SET "details"=jsonb_set("details"::jsonb, '{url}', '"images/0005.jpg"'
WHERE "details"::json->>'name'='Eiffel Tower';
Source by dev.to #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+3 =