PlanetScale serverless driver for JavaScript
We just released the new PlanetScale serverless driver for JavaScript.
This Fetch API-compatible driver allows you to use PlanetScale with serverless and edge compute platforms that require HTTP connections, such as Cloudflare Workers, Vercel Edge Functions, and Netlify Edge Functions.
To use this driver, you must opt-in and accept beta terms to access the required PlanetScale connection strings. You can enroll your database by selecting the database in the PlanetScale dashboard, clicking "Settings", "Beta features", and clicking "Enroll" next to "PlanetScale serverless driver for JavaScript".