A lightweight helper library for MySQL in Node.js, version 0.0.7, providing a simple wrapper around raw MySQL queries with convenience methods for common operations like select, insert, update, and joins. Released in early development with minimal release cadence. Differentiates from full ORMs like Sequelize by offering a thin, callback-based API that stays close to SQL. Latest version is 0.0.7, last updated several years ago.
npm install mysql-adapterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a MySQL connection, connect, run a selectAll query with a WHERE clause, and close the connection.
Use an actively maintained MySQL library like mysql2 or an ORM like Sequelize.
Use the intended updateOne method (if available) or use raw query for updates.
Wrap methods in Promises or use a utility like util.promisify for async/await usage.
Verify the joinType parameter supports both 'LEFT' and 'RIGHT'; test thoroughly.
npm install mysql-adapter
Use const { MySQL } = require('mysql-adapter');