Replies: 1 comment
|
Yes. https://www.sqlite.org/pragma.html#pragma_journal_mode
(emphasis mine) Edit: sorry, that's not entirely true
However, I would only trust this if you know that the database file hasn't been opened with another mode in between. So it's safe to just always set it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Probably not specific related to better-sqlite3. Do I need to set journal_mode every time I open a db in order to keep WAL mode always?
db.pragma('journal_mode = WAL');All reactions