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
The sample can't perform in the document i use:
I need a example available,thanks
The text was updated successfully, but these errors were encountered:
You can find the example to run an SQL statement under the "Usage" part of the README.
let stmt = try db.prepare("INSERT INTO users (email) VALUES (?)") for email in ["[email protected]", "[email protected]"] { try stmt.run(email) }
So after preparing the statement with try db.prepare(SQLStatement) you need to run the statement with try statement.run()
try db.prepare(SQLStatement)
try statement.run()
Sorry, something went wrong.
Thank you for your answer,I understand and solved the problem
Glad that I could help. I'm not a contributor or so, just another user which had the same issue and solved it.
If the issue is solved, someone could close it.
No branches or pull requests
The sample can't perform in the document
i use:
try db.prepare(query: QueryType)
I need a example available,thanks
The text was updated successfully, but these errors were encountered: