We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A short post from SQL persistance.lua
local sqlite3 = require("lsqlite3")
local db = sqlite3.open(app.dir() .. "/foo.db")
db:exec[[ CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT, content); ]]
print(db:errmsg())
db:exec[[ INSERT INTO test (content) VALUES ('corrupt#8513'); ]]
for row in db:nrows("SELECT * FROM test") do print(row.id, row.content) end
db:close()
a screenshot
The text was updated successfully, but these errors were encountered:
Hi
I didn't understand what you mean with this issue. What is the problem?
Sorry, something went wrong.
No branches or pull requests
A short post from SQL persistance.lua
local sqlite3 = require("lsqlite3")
local db = sqlite3.open(app.dir() .. "/foo.db")
db:exec[[
CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT, content);
]]
print(db:errmsg())
db:exec[[
INSERT INTO test (content) VALUES ('corrupt#8513');
]]
print(db:errmsg())
for row in db:nrows("SELECT * FROM test") do
print(row.id, row.content)
end
db:close()
a screenshot
The text was updated successfully, but these errors were encountered: