我有这段代码:
local path = system.pathForFile("data.db", system.DocumentsDirectory)
db = sqlite3.open( path )
local tablesetup = [[DROP TABLE score_floors;]]
db:exec( tablesetup )
for row2 in db:nrows("SELECT * FROM score_floors") do
print("---->ID: " .. row2.id )
end
输出显示来自“删除表”的数据
任何人都可以帮助我吗?谢谢