I have this block of code:
[lua]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[/lua]
And output shows data from ‘dropped table’
Can anyone help me please? Thanks
[import]uid: 208600 topic_id: 34692 reply_id: 334692[/import]