liqd-sql is a Node.js SQL connector supporting MySQL, SQL Server, and Oracle databases. Version 1.6.2 (stable) provides a fluent query builder API for CRUD operations, table creation, joins, unions, and transactions. It returns standardized result objects with metadata like affected rows and execution time. Unlike ORMs, it offers a lightweight, promise-based approach with low overhead. The package is maintained on GitHub and Travis CI, licensed under MIT.
npm install liqd-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MySQL, creates a users table, inserts a row, and selects all rows.
Use import instead of require(); for CommonJS, use dynamic import()
Test thoroughly; consider using dedicated drivers for production Oracle/SQL Server
Use .row for single row results; .rows for arrays
Run 'npm install liqd-sql' and use correct import: import SQL from 'liqd-sql'
Use const SQL = new (require('liqd-sql').default)(config); or use importEnsure config object has correct driver key (mysql/mssql/oracle) and valid connection details
No dependency data recorded yet.