update field in jsonb
От
support-tiger
Тема
update field in jsonb
Дата
Msg-id
9a1c3dd0-39f0-7da2-61b6-58621a89a288@tigernassau.com
Список
Дерево обсуждения
update field in jsonb support-tiger <support@tigernassau.com>
Re: update field in jsonb "Ivan E. Panchenko" <i.panchenko@postgrespro.ru>
Re: update field in jsonb Oleg Bartunov <obartunov@gmail.com>
Re: update field in jsonb support-tiger <support@tigernassau.com>
Re: update field in jsonb Oleg Bartunov <obartunov@gmail.com>
Re: update field in jsonb "Sven R. Kunze" <srkunze@mail.de>
is there a way to update a single field in jsonb without replacing the
entire json document - couldn't find an example
for example
create table test (id primary key, data jsonb);
insert into test ({"name":"bill", "age":29});
?? update test set data->age = 30
--
Support Dept
Tiger Nassau, Inc.
www.tigernassau.com
406-624-9310
В списке pgsql-general по дате отправления