我有如下设置的SQLlite表:
name = List
tablename = namesOfTests
two columns = testNames and dueDate
请参阅链接-https://sqliteonline.com/#fiddle-5c958b0c1ef9b54xjtktalx6
我的代码:
selectTest = "SampleSavedTest_Summ"
c1.execute("DELETE FROM namesOfTests WHERE testNames = ?;", (selectTest,))
代码运行没有错误,但是,数据库未更新。我将不胜感激。
请在下面查看评论,@ Parfait帮助我修复了问题