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

FR: Add support for Cloudflare's D1 in database URIs #529

Open
pataquets opened this issue Jul 30, 2024 · 0 comments
Open

FR: Add support for Cloudflare's D1 in database URIs #529

pataquets opened this issue Jul 30, 2024 · 0 comments

Comments

@pataquets
Copy link

pataquets commented Jul 30, 2024

D1 is Cloudflare’s native serverless database.
Info: https://developers.cloudflare.com/d1/

There is an API and at least a couple wrapper libs:
https://developers.cloudflare.com/d1/examples/query-d1-from-python-workers/
https://github.com/G4brym/django-d1
https://github.com/Suleman-Elahi/D1py

I guess there's no hurry, just exploring. If it would be an acceptable PR, general advice is appreciated. Use d1:// schema? If too out-of-scope, is there any extensibility feature to plug in a new scheme?
I guess this could be tagged as a "good first issue", since looking at the code, seems to me that it's just the db_url parsing function.

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

1 participant