嵌套json的查询
摘要:        
postgres=# SELECT t.data->'objects'->1->'src' AS ctFROM reports as t , json_array_elements(t.data->'objects') oWHERE concat(o->>'src') LIKE '%bar%';    阅读全文
        posted @ 2016-06-01 23:36 与非朋仔 阅读(784) 评论(0) 推荐(0)
posted @ 2016-06-01 23:36 与非朋仔 阅读(784) 评论(0) 推荐(0)
posted @ 2016-06-01 23:16 与非朋仔 阅读(273) 评论(0) 推荐(0)
posted @ 2016-06-01 22:53 与非朋仔 阅读(4568) 评论(0) 推荐(0)