美文网首页
Python-MySQLdb 缓存问题 conn.commit(

Python-MySQLdb 缓存问题 conn.commit(

作者: 带肥肉的羊肉串 | 来源:发表于2018-12-19 17:51 被阅读20次

    问题描述:
    写了个select,调用 self.cursor.execute(sql)执行SQL,修改数据库后,数据返回的还是之前未修改过的。

    待续。。。

    参考帖子:https://blog.csdn.net/iteye_11140/article/details/82571367

    相关文章

      网友评论

          本文标题:Python-MySQLdb 缓存问题 conn.commit(

          本文链接:https://www.haomeiwen.com/subject/zktskqtx.html