把一行数据按Json字符串形式返回
select row_to_json( table_code)from table_code
select array_to_json( array_agg(row_to_json(code))) from ( select 子查询)
把一行数据按Json字符串形式返回
select row_to_json( table_code)from table_code
select array_to_json( array_agg(row_to_json(code))) from ( select 子查询)
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。