Support Cloudflare D1 Connections #17236
Labels
dialect: new
For issues and PRs that relate to new dialect support
dialect: sqlite
For issues and PRs. Things that involve SQLite (and do not involve all dialects).
type: feature
For issues and PRs. For new features. Never breaking changes.
Issue Creation Checklist
Feature Description
Enable the ability to connect to a Cloudflare D1 sqlite database like these other ORMs.
Describe the feature you'd like to see implemented
I would like to be able to configure a connection to a Cloudflare D1 sqlite database and utilize Sequelize as an ORM rather than these other ORMs they are currently suggesting. Because the setup isn't actually a remote or even file based connection maybe this could be enabled with something as simple as
const sequelize = new Sequelize('sqlite::d1:')
but I'm totally open to other options as long as it unlocks the ability for it to be used.Describe why you would like this feature to be added to Sequelize
I'm trying to build a project on Cloudflare workers with D1 as its database and without support for connecting to this I'll need to use a different ORM. I first started using Sequelize maybe a decade ago and there are features that it has that work well that some of these newer ORMs don't. The stability and straightforward simplicity of Sequelize makes sense to me and I would like to continue using it if I can.
Is this feature dialect-specific?
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: