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

SQLite Write Ahead Logging #5245

Closed
zeeshanjan82 opened this issue Jan 18, 2016 · 4 comments
Closed

SQLite Write Ahead Logging #5245

zeeshanjan82 opened this issue Jan 18, 2016 · 4 comments

Comments

@zeeshanjan82
Copy link

How would I setup Write Ahead Logging when using Sequelize for SQLite, I would like to setup the WAL for a specific database which I am calling from Sequelize.

@mickhansen
Copy link
Contributor

Would probably be a job for an after connection hook: #5246 which doesn't exist yet.

@damianobarbati
Copy link

any news on this? needed for same reason and other pragma statements

@renathoaz
Copy link

Although Sequelize does not offer it native, we can user raw query to achieve it: sequelize.query("PRAGMA journal_mode=WAL;")

@bradisbell
Copy link

For anyone else looking at this, it seems that the afterConnect hook exists now, but it doesn't seem to work with SQLite, unfortunately. Separate issue opened here: #12487

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

No branches or pull requests

5 participants