文章目录
Jsonb
规则


数据
1 2 3 4 5 6 7 8 |
{ "abc":{ "def":{ "ghk":500 } } } |
查询语句
1 2 3 4 5 6 7 |
select * from a_table where (json_col #>> '{abc,def,ghk}')::int between 0 and 1000 #>> 以文本的形式获取指定路径的json 对象 |
