Discuss / Python / 大家一定想查出 k=>v 这种格式的数据。

大家一定想查出 k=>v 这种格式的数据。

Topic source

军师WEB

#1 Created at ... [Delete] [Delete and Lock User]

如果要查k=>v这种格式的数据,网上搜了一下,都过期了,还真不知道怎么办。 然后我去官方文档看了一下。

cursor = conn.cursor(dictionary=True)

就解决了。。。


  • 1

Reply