Replies: 11 comments 42 replies
-
Can I ask what the purpose of this package is/what does it solve? just wondering if it's useful for me. I'm currently using planetscale and have a Remix app running on vercel, to combat the cold start times, im using the Accelerate console and using the @prisma/client/edge import. Would this replace the need to use the Accelerate console? |
Beta Was this translation helpful? Give feedback.
-
FYI: if you are using
It won't work. You need to use the full connection string |
Beta Was this translation helpful? Give feedback.
-
Is there any mechanism to add custom adapters with |
Beta Was this translation helpful? Give feedback.
-
Does using this serverless driver mean I can use Prisma in any serverless/edge environment today? |
Beta Was this translation helpful? Give feedback.
-
Based on your comment @janpio, this adapter does not allow us to remove any custom Lambda layer logic for AWS yet?
As an example, this project shows how a layer needed to be created in order to leverage Prisma in a Lambda environment previously: https://github.com/jetbridge/sst-prisma/blob/master/stacks/layers.ts |
Beta Was this translation helpful? Give feedback.
-
Troubleshooting tip for those who are having an issue with connecting to the database: Check the database host you're using. If it's in the format of So for clarity, your
not this:
Credit to this comment for pointing me in the right direction. |
Beta Was this translation helpful? Give feedback.
-
Support for the PlanetScale Serverless Driver is in preview behind the
driverAdapters
preview feature.Please share your feedback about
@prisma/adapter-planetscale
released in v5.4.0 in this issue.Beta Was this translation helpful? Give feedback.
All reactions