Write ahead logging and pragma statements #775
Unanswered
TheRocinante
asked this question in
Q&A
Replies: 1 comment 1 reply
-
https://github.com/fnc12/sqlite_orm/blob/master/tests/pragma_tests.cpp#L26 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi!
I want to switch from the default journal mode and instead, I want to use write ahead logging.
I current define my schema and create the db using sqlite_orm. Is there a way to use the library to run a pragma statement, such as:
PRAGMA journal_mode=WAL;
If not, should I be manually creating the FB, running my pragma statements on it, and only then opening it using this library?
thanks so much.
Beta Was this translation helpful? Give feedback.
All reactions