mysql-with-kysely

JSON →
library 0.2.2 ·javascript
verified Jun 5, 2026

Integration library connecting MySQL (via mysql2) with the Kysely query builder. v0.2.2 released 2023-10, handles MySQL BIGINT as string, provides type-safe query building with TypeScript, and includes a plugin to fix the 'Incorrect arguments to mysqld_stmt_execute' error from MySQL 8.0.22+. Ships TypeScript types, depends on kysely ^0.18.1 and mysql2 ^2.3.3. Compared to raw mysql2, it offers full Kysely integration with subscription to query metrics and mock helpers for testing.