Kysely MySQL Dialect with Deadlock Retries
JSON →Custom MySQL dialect for Kysely (v1.2.0) that automatically retries queries on deadlock errors (MySQL error 1213). Drop-in replacement for Kysely's standard MySQL dialect with configurable retry attempts, exponential backoff, delay, and optional onRetry callback. Requires Kysely and mysql2 as peer dependencies. Ideal for production MySQL workloads where deadlocks are common.