Is it possible to use drizzle with d1 on http
Unfortunately, it's not possible to access cloudflare bindings in non worker envinroment. But I have some task functions that need to access the db but not from the worker.
2 Replies
I'm aware there is D1 http adapter for Drizzle Kit, but I'm referring to the db client
https://orm.drizzle.team/learn/guides/d1-http-with-drizzle-kit
Drizzle ORM - Cloudflare D1 HTTP API with Drizzle Kit
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
also wondering this