knex-serverless-mysql
JSON →Knex.js dialect adapter for serverless-mysql, enabling persistent database connections across AWS Lambda execution contexts. Version 1.1.0 is the latest stable release, with no frequent updates since 2021. It works as a custom Knex client dialect, wrapping the serverless-mysql connection pool, which maintains MySQL connections across cold starts. Unlike native Knex MySQL drivers, this reduces database load in serverless environments by reusing connections. Minimal overhead, but requires manual setup of the serverless-mysql instance and injection as the dialect along with the mysql option.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · SA · 🇨🇦 Canada · 🇩🇪 Germany
Resources
packageknex-serverless-mysql ↗
API endpoints
full doc /v1/registry/knex-serverless-mysql