Coalesce jsonArrayAgg to empty array in jOOQ

前端 未结 0 2012
礼貌的吻别
礼貌的吻别 2020-12-22 22:14

What is the equivalent for coalesce in the new jOOQ 3.14 SQL/JSON supporting version (in PostgreSQL)?

select coalesce(json_agg(t.*), \'[]\'::json         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题