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
This is the code used for tryQuery:
tryQuery
if stepQuery(db, prepStmt, returnsData): action stopQuery(db, prepStmt)
Which appears to be designed to not throw any errors on failure, but:
template stopQuery*(db: DbConn; s: PStmt) = if sqlite3.reset(s) != SQLITE_OK: dbError(db)
Which will throw the last error occurred from executing the statement, see sqlite3_reset() documentation
sqlite3_reset()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is the code used for
tryQuery
:Which appears to be designed to not throw any errors on failure, but:
Which will throw the last error occurred from executing the statement, see
sqlite3_reset()
documentationThe text was updated successfully, but these errors were encountered: