PostgreSQL 对JSON格式的字段进行修改和查询操作

1.PostgreSQL 对JSON格式的字段进行修改和查询操作; JSON格式的字段可以是VCAHER类型

 select "EImages"::jsonb || '{"info":"male","status":"这个是我的测试"}'::jsonb from "EVENT-4444444444444444" where "EHashId" = '45555555653'
 
 update "EVENT-4444444444444444" set "EImages" = "EImages"::jsonb || '{"info":"male","status":"12这个是我的测试"}'::jsonb where "EHashId" = '45555555653'
原文地址:https://www.cnblogs.com/han-guang-xue/p/11764452.html