Psycopg2 - SQL Result to json list

后端 未结 0 1020
独厮守ぢ
独厮守ぢ 2020-12-06 04:17

Trying to return Psycopg2 results to a Python json list.

        self.cursor.execute("SELECT user FROM app.feeders")
        ex1 = self.cursor.fetch         


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