Using the PlanetScale serverless driver with AWS Lambda functions
Sep 21, 2022Brian Morrison II

Summary
This post introduces the PlanetScale serverless driver for JavaScript, detailing its setup and usage with AWS Lambda and API Gateway. It demonstrates how to create a database, enable the beta feature, configure environment variables, and implement basic CRUD operations (SELECT, INSERT) via HTTP requests. The guide covers project initialization, package installation, and the deployment process to AWS Lambda, along with setting up API Gateway routes.