-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Use better-sqlite3 #11400
Comments
Completely agreed!! |
@sushantdhiman Hi, if need help I can make PR with migrate to |
@usebaz Thanks. Soon |
Is there any update on this? |
@etylermoss Currently no one is working on this. I tried to convert some time ago but found that API is really annoying :) For example, This mean as an ORM we need to check what kind of query is going to execute (will it return data?) and switch methods based on that. I think this is unnecessary complication. I wish they could just provide simple method to execute any arbitrary So officially we want to switch but we are not working on it. If someone want to do a PR for this, we will welcome that change. |
How is it handled with |
This comment was marked as spam.
This comment was marked as spam.
Hi there! |
This comment was marked as outdated.
This comment was marked as outdated.
Not stale. |
Any Updates? |
@John-H-Smith we're thinking about doing it for v7 sequelize/meetings#7 |
I reproduce their 10x faster benchmarks in my project when migrating from better-sqlite3 to sequelize 6, It is amazing!! Make sure to compile with that log limiting options maxed out if possible to prevent log truncation: WiseLibs/better-sqlite3#306 |
Hi everyone, Please consider adding support for |
At this moment none of the maintainers are working on replacing sqlite3 with better-sqlite3 and won't be in the foreseeable future since there are many other features that we want to add, and bugs we need to fix. If somebody from the community makes a Pull Request we are of course happy to review that. |
Thank you very much for the quick response @ephys. In our team we'll estimate the effort needed for the integration, and find out whether we are able to allocate resources for that. Also pinging @usebaz who offered their help with the integration a few years ago. Just in hope they are still available. |
We may need to take a note about this:
|
any updates? |
No updates. We've moved this internally to v8 when we split the various dialects off to separate packages. That way we can even look into supporting multiple connectors for sqlite |
any updates? |
Is this still not being worked on? If the maintainers approve, I'll gladly open a fork open to the community to get this feature up and running and PR it. After a quick scan of the source, it doesn't really seem as hard as every is making it, seems like the regular |
@j-refs internally this has been postponed to v8 when we split dialects. If you can make it so that users can select which of the two adapters they want to use, we can reconsider adding this to v7. If you create a fork, please mention it here in this issue as well so we can refer people to it in the meantime |
Will look into forsure. Probably later today, I work nights and I'm ready to KO. Any info the maintainers wanna add in before I form? |
any updates? |
Yes sorry, struggling to find time to get started on this, but is definitely on my queue |
I'm ready to start working on this. Would y'all prefer a branched PR or it's own repo? |
@j-refs So sorry, I did not see your latest message The SQLite package has been split to its own package (https://github.com/sequelize/sequelize/tree/main/packages). You can fork the repository, create a new package called As we're opting for providing both Note that |
@ephys I will start working on this. Do you guys have something already in progress that can work or help with? |
Thinking about using
better-sqlite3
for SQLite database, mainly for supporting 64bit Integers. Their benchmark looks great as wellWiseLibs/better-sqlite3#262
The text was updated successfully, but these errors were encountered: