Why doesn’t SQLite3 require a commit() call to save data in Python?

前端 未结 5 1293
轮回少年
轮回少年 2020-12-09 18:48

I read somewhere that to save data to a SQLite3 database in Python, the method commit of the connection object should be called. Yet I have never needed to do t

5条回答
  •  星月不相逢
    2020-12-09 19:23

    Probably autocommit is on, it is by default http://www.sqlite.org/c3ref/get_autocommit.html

提交回复
热议问题