drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Cloudflare D1 HTTP driver
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Describe what you want
Currently we can only use D1 from a Cloudflare Worker because the drizzle() function take a D1Database instance as a parameter that can only come from a env binding of a cloudflare worker
if would be great to be able to use the DB over http to be able to use D1 outside of a cloudflare worker
here is the api that could enable this:
https://developers.cloudflare.com/api/operations/cloudflare-d1-query-database
Contributor guide
Assessment
This issue has not been assessed yet.