Replies: 11 comments 44 replies
|
Finally |
|
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? |
|
FYI: if you are using
It won't work. You need to use the full connection string |
|
Is there any mechanism to add custom adapters with |
|
Does using this serverless driver mean I can use Prisma in any serverless/edge environment today? |
|
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 |
|
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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Support for the PlanetScale Serverless Driver is in preview behind the
driverAdapterspreview feature.Please share your feedback about
@prisma/adapter-planetscalereleased in v5.4.0 in this issue.All reactions