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'

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-12-09
  • 2021-05-22
  • 2021-05-21
  • 2021-08-08
  • 2022-12-23
猜你喜欢
  • 2021-06-11
  • 2021-04-13
  • 2021-11-02
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
相关资源
相似解决方案