A MySQL query builder and ORM-like library for Node.js that supports CRUD operations with a plugin-based architecture. Current stable version is 2.4.18. The library provides methods like find, findOne, insert, update, delete on a MySQL connection instance. It uses EventEmitter for lifecycle events (open, close, error, mysql-log) and supports Promises. Key differentiators: built-in security filtering, logging, and support for logical/physical deletion. Requires manual connection management with open() and release() calls.
npm install mysql-qs-parseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate MysqlParse with config object, connect, run a query, and release connection.
Always call db.release() after your database operations are complete.
For each request/operation, call await db.open() then use db, then db.release().
Use object config: new MysqlParse({host: '...', user: '...', password: '...', database: '...'})Use db.query() or future API; refer to docs for updated patterns.
Ensure you are using version >=2.0.0 and import correctly: const db = new MysqlParse(...); db.find(...)
Always call db.release() after queries and re-open with db.open() before next use. Check MySQL wait_timeout.
Install the peer dependency: npm install mysql