python mysql 查询返回字典结构
时间:2022-03-10 17:10
cur = self.conn.cursor(MySQLdb.cursors.DictCursor)加上MySQLdb.cursors.DictCursor可以返回字典结构
{列名:值}
python mysql 查询返回字典结构,布布扣,bubuko.com
时间:2022-03-10 17:10
cur = self.conn.cursor(MySQLdb.cursors.DictCursor)加上MySQLdb.cursors.DictCursor可以返回字典结构
{列名:值}
python mysql 查询返回字典结构,布布扣,bubuko.com