Prepare statement lifespan #56
-
Naively I think a prepared statement lifespan is a mutation, but if my app uses a few statements all the time, wouldn't be better to enlarge the lifespan to app start/end? Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
rhashimoto
Jun 14, 2022
Replies: 2 comments
-
The lifetime of a prepared statement can be whatever works for you. This is really a SQLite question and not a wa-sqlite question. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
steida
-
For the record, https://www.sqlite.org/c3ref/stmt.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The lifetime of a prepared statement can be whatever works for you. This is really a SQLite question and not a wa-sqlite question.