更新时间:2023-01-29 21:59:47
如果你看一下 文档 commit()
它可以提示您的代码为什么不起作用.
If you look the Documentation for commit()
it can give a hint on why your code doesn't work.
尝试在 sleep(10)
之后使用 database.commit()
看看它是否有效.
Try using database.commit()
after sleep(10)
and see if it works.