Skip to content
New issue

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

add a statement.readOnly flag #13

Open
wants to merge 1 commit into
base: grist-main
Choose a base branch
from

Conversation

paulfitz
Copy link
Member

This flag is set using sqlite3_stmt_readonly. It returns true if the prepared statement makes no direct changes to the content of the database file.

Awkwardly, the statement could still affect the state of the connection to the database.

This flag is set if the prepared statement will not modify the
database. Be aware that that statement could still affect the
connection to the database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant