{"library":"knex-serverless-mysql","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install knex-serverless-mysql","imports":["import knexServerlessMysql from 'knex-serverless-mysql'","import Knex from 'knex'","import serverlessMysql from 'serverless-mysql'"]},{"cmd":"yarn add knex-serverless-mysql","imports":[]},{"cmd":"pnpm add knex-serverless-mysql","imports":[]}],"homepage":"git@github.com:MatissJanis/knex-serverless-mysql","github":"git@github.com:MatissJanis/knex-serverless-mysql","docs":null,"changelog":null,"pypi":null,"npm":"knex-serverless-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}