drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Cloudflare D1 HTTP driver

Open
#2,086 9 comments 14 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.