-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Support for better-sqlite3
Driver
#4871
Conversation
…ter-sqlite3 Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
…aking good progress! Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
@@ -174,6 +194,7 @@ const testConfigs = { | |||
}; | |||
|
|||
function getKnexForDb(db, configOverrides = {}) { | |||
console.log(db); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this still helpful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nop. 😂
Wow, this is super impressive! Great job |
Signed-off-by: blam <ben@blam.sh>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems really cool work ! Do we need to flag sqlite3 as deprecated driver and show warnings that we will drop support ? I assume that in future we will switch to better-sqlite3 ?
@OlivierCavadenti Considering the great job that vscode is doing on their sqlite fork, I don't think we need to deprecate dialect, just switch to vscode version (for which you already created PR, I believe) |
…ests Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Think this should be good to go now! |
LGTM. Could you please also send a PR for documentation, expanding list of supported drivers? |
@kibertoad yes of course, will round to that today! |
Sorry - got sidetracked @kibertoad. Had a quick pass at updating some of the docs, hope that's what was needed :) |
Looking forward to the release. Many thanks in advance! |
With
node-sqlite3
no longer being maintained, we want to have the ability to support asqlite
driver that is. https://github.com/JoshuaWise/better-sqlite3 seems to be a great replacement fornode-sqlite3
.Still work in progress right now, that's why it's draft, but wanted to get some early feedback to make sure we're going the right way.
Closes #4511