After I used fetchall(), I got this error:
TypeError: tuple indices must be integers, not str
very similar to this person's question, which I upvoted: TypeError: tuple indices must be integers, not str
Just wondering... is there anyway I could get the data in such a way that would allow me to access data by writing row["column_name"]
instead of row[index]
?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…