Postgres & Rust R2D2: How to get array_to_json as text/string without the escaped double quotes?

前端 未结 0 1540
一个人的身影
一个人的身影 2021-01-25 14:12

I have the following SQL:

select array_to_json(array_agg(row_to_json(t))) 
from ( 
 select username, notifications 
 from useraccountview where username = \'Bobby         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题