Commit f691c22
authored
Add support for selecting journal mode (#137)
Supporting `WAL` mode is good, however if we add support for that, we
should also add supoport for other journaling types as well.
This PR adds a `SQLITE_JOURNAL_MODE` constant, and if it has one of the
valid & supported values, then we make the query to set the
`journal_mode` in the DB.
Props @soulteary 👍1 parent 2561000 commit f691c22
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
424 | 429 | | |
425 | 430 | | |
426 | 431 | | |
| |||
0 commit comments