MySQL database connector for the ts-db-helper ORM ecosystem, version 0.0.20. This package provides a thin wrapper around the mysql2 driver to integrate with ts-db-helper's schema-based query builder. It is a low-level connector in the ts-db-helper family, intended to be used alongside the core ORM library. The library ships TypeScript type definitions and supports connection pooling and prepared statements. Release cadence appears irregular as it is still in early development (pre-1.0). Compared to standalone ORMs like Sequelize or TypeORM, this connector is tightly coupled to ts-db-helper and not recommended for general-purpose use.
npm install ts-db-helper-mysql-connectorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a MySQL connector, obtains a connection from the pool, executes a simple query, and releases the connection.
Lock dependency to exact version and test upgrades carefully.
Use 'connector.pool.getConnection()' if direct pool access is needed.
Use named import '{ MySQLConnector }' instead of default.Check the source or node_modules for the exact shape; use TypeScript types if available.
Run: npm install mysql2
Ensure MySQLConnector is constructed with valid config and the pool is created.
Use named import: import { MySQLConnector } from 'ts-db-helper-mysql-connector'Update package or use pool.getConnection() directly.