#Prisma, Cloudflare Workers, and PlanetScale

5 messages · Page 1 of 1 (latest)

fleet basin
#

Has anyone been able to get Prisma running on a PlanetScale database in the Cloudflare Worker environment? If so, please let me know how you did it! I know Prisma generally recommends using the Prisma Data Proxy, but I don't want to use that if I don't have to. I'm thinking since PlanetScale is serverless, there should be a way to make it work. But let me know!

worthy tide
#

Do you get an error message when you try?

fleet basin
#

That’s why they tell you to use the Prisma Data Proxy. But I was just wondering if there was a way to avoid that while using PlanetScale, since they’re serverless so in theory I assume it should be possible?

wanton rose
#

No, you can use kysely or drizzle, prisma have it own rust engine and can't use on worker