psycopg2 return single quotes instead of double for json_agg

后端 未结 0 586
挽巷
挽巷 2021-01-23 07:26

I need to get json data from database (Python 3.8 / psycopg2 2.8.6 / PostgreSQL 12) with double quotes , but for now it\'s in single quotes:

sql = "select js         


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