Replies: 3 comments 6 replies
-
Feedback: The Prisma engine adds about 2MB to the Cloudflare D1 bundle size. This means that free tier users (with a 1MB bundle size limit) are unable to use Prisma without confusing errors. 😜 The minimum cost to use Prisma becomes $60/yr. I wound up switching to Drizzle for my project. Most of the engine seems to be a 2MB seems to be a giant webassembly file. Cloudflare doesn't count static assets against the 1MB limit. I wonder if there's a way to load it in asynchronously as a static asset rather than compiling it into the function. |
Beta Was this translation helpful? Give feedback.
-
Feedback: It's working generally well for me, I have a couple of smaller applications deployed already using the D1 adapter. However, my main application has more than 100 rows in almost every table and I'm running into trouble here: |
Beta Was this translation helpful? Give feedback.
-
I often write queries with many to many relationships being included, and it errors most of the time due to D1 having a very small parameter max length. I would really like to see joins being supported so I don't have to query raw. I am really happy with the performance. |
Beta Was this translation helpful? Give feedback.
-
Support for the Cloudflare D1 is in preview behind the
driverAdapters
preview feature with the release of 5.12.0 on April 2nd.Please share your feedback about
@prisma/adapter-d1
in this discussion.Beta Was this translation helpful? Give feedback.
All reactions