A MySQL query builder for Node.js that automatically introspects database schema on connection, providing chainable table, column, and row operations for SELECT, INSERT, UPDATE, DELETE. Version 1.0.16 is stable but rarely updated. Unlike knex or Sequelize, it requires an active MySQL connection and relies on schema reflection, making it lightweight but tightly coupled to a single database. Suitable for quick scripts but lacks migration, pooling, or type safety. Use with caution in production.
npm install node-fast-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows connecting to MySQL, building a SELECT query with filter, executing it, and releasing the connection.
Await mysql.waitConnect() before any other calls.
Use conn.queryOnce(sql) or conn.query(sql) as provided by node-fast-sql.
Ensure table exists and waitConnect() completes before accessing it.
Use JSDoc or hand-roll types if needed.
Add await mysql.waitConnect() before accessing table methods.
Check table name and ensure waitConnect() completed; database may need migration.
Run: npm install mysql