问题描述
假设我在诸如postgres的列中有一个jsonb数组
[{"startDate": "2019-09-01"},{"startDate": "2019-07-22"},{"startDate": "2019-08-08"}]
有没有办法从jsonb数组中提取最早的startDate?我尝试使用jsonb_array_elements,但看不到如何遍历所有元素。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)