jsonb_each_text()将json对象转变文本类型的键和值

最近更新时间: 2025-02-18 16:02:00

  • 复制
    复制成功
postgres=#  select * from  jsonb_each_text((select  f_jsonb  from t_jsonb where id=1)); 
 key  | value 
------+-------
 col  | pgxz
 col1 | 1
 col2 | TDSQL PG
(3 rows)