4 ms·
Still no compatibility with standard ORMs like Prisma either. And the team has been aware of the issue for years now https://github.com/cloudflare/workers-sdk
by KRAKRISMOTT 3y ago
Still no compatibility with standard ORMs like Prisma either.
And the team has been aware of the issue for years now
https://github.com/cloudflare/workers-sdk/issues/2701 https://github.com/cloudflare/workers-sdk/issues/2701
https://news.ycombinator.com/item?id=31341513 https://news.ycombinator.com/item?id=31341513
- kentonv 3y agoSorry that D1 has been slow out the gate. Now that we've solved the basic technical issues we can really focus on improving DX.
- Akkuma 3y agoYou can use drizzle-orm with Cloudflare and that is fully compatible.
- rozenmd 3y agoDrizzle is amazing.
- Akkuma 3y agoThis is my first time using it and I've been very pleased with it so far. It keeps it simple, has solid typing & schema building, and reminds me of LINQ. I'm also a thin models kind of person and the fact this is just an object without needing to build ORM classes is even better.
- radiofmd 3y ago> standard ORMs like Prisma Prisma isn't standard and too slow anyway.
- igalklebanov 3y agoYou can use D1 with Kysely (the typesafe sql query builder) via the kysely-d1 3rd party dialect. https://github.com/kysely-org/kysely https://github.com/kysely-org/kysely https://github.com/aidenwallis/kysely-d1 https://github.com/aidenwallis/kysely-d1