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

Add support for file open flags for sqlite3 #4446

Merged
merged 6 commits into from Apr 21, 2021
Merged

Conversation

Boelensman1
Copy link
Contributor

With this pull request it should be possible to open a shared memory database without recompiling sqlite, which has quite a lot of use cases, especially in testing. It should for example allow this solution work even if sqlite3 is not compiled with the SQLITE_USE_URI=1 flag.

I set the default mode selection to the default of node-sqlite3 so all existing code should still work.

Link to documentation PR: knex/documentation#320

Signed-off-by: Boelensman1 <me@wiggerboelens.com>
Signed-off-by: Boelensman1 <me@wiggerboelens.com>
Signed-off-by: Boelensman1 <me@wiggerboelens.com>
Signed-off-by: Boelensman1 <me@wiggerboelens.com>
Signed-off-by: Boelensman1 <me@wiggerboelens.com>
Signed-off-by: Boelensman1 <me@wiggerboelens.com>
@kibertoad kibertoad merged commit 267ff3a into knex:master Apr 21, 2021
@kibertoad
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants