回答編集履歴
1
typoを修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
https://www.psycopg.org/docs/cursor.html#cursor.fetchall
|
1
|
+
参考: https://www.psycopg.org/docs/cursor.html#cursor.fetchall
|
2
2
|
|
3
3
|
`cur.fetchall()`の戻り値がtupleのlistだと思うので、たとえば以下のようにするのはいかがでしょうか?
|
4
4
|
|