Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres jsonb array push new element

UPDATE jsontesting
SET jsondata = jsondata || '["newString"]'::jsonb
WHERE id = 7;
 
PREVIOUS NEXT
Tagged: #postgres #jsonb #array #push #element
ADD COMMENT
Topic
Name
8+2 =