文井小七
文井小七
关注数: 0
粉丝数: 2
发帖数: 9
关注贴吧数: 0
请问 postgresql 中json_each_text()函数的结果是什么类型 学生党,刚接触json, 有一表mytable, id--int2, detail--json id detail 1 {"city":{"Location":"shanghai", “PC”:021}, "country":"China"} 2 {"city":{"Location":"Beijing", “PC”:010}, "country":"China"} …… select id, json_each_text(detail) as b where b like '%Beijing%' 报错………… 难道json_each_text()函数不是把json转换为成对的text的函数吗
1
下一页