Using Bun sql driver with Prisma #21897
Replies: 2 comments 1 reply
-
|
Hi, You can find it here: |
Beta Was this translation helpful? Give feedback.
-
|
For anyone looking for a working Prisma 7 adapter on Bun: I built prisma-adapter-bun-sqlite, which is fully compatible with Prisma 7 and built on top of Bun’s native sqlite engine. The adapter mentioned above (@abcx3) does not seem to be production-ready according to tests I ran. Foreign keys are disabled, error codes aren't mapped to Prisma codes, and many Prisma features won't work (relations, transactions, aggregations, connection reservation). Key points about prisma-adapter-bun-sqlite:
Github: https://github.com/mmvsk/prisma-adapter-bun-sqlite |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to elect the Bun sql driver for use with Prisma? Is this even worthwhile considering?
Beta Was this translation helpful? Give feedback.
All reactions