Например, у меня есть таблица products
Код: Выделить всё
id | characs | name
----+----------------------------------------------------------------------------+--------------
1 | "key"=>"value", "key3"=>"test2" | test1
2 | "key"=>"value" | test3
3 | "keyNew"=>"valueNew" | test3
4 | "keyNew"=>"valueNew" | test4
5 | "date"=>"Dec 2012", "price"=>"500", "author"=>"Dave", "currency"=>"dollar" | test5
Код: Выделить всё
UPDATE products SET name='test1New', characs=characs || '"key3"=>"value3"'::hstore where id=1
Подробнее здесь: https://stackoverflow.com/questions/278 ... using-jooq
Мобильная версия