Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sqlcommenter

google11ISC0.0.1

Middleware and wrappers to correlate SQL statements from ORMs with user code

readme

sqlcommenter

sqlcommenter is a suite of plugins/middleware/wrappers to augment SQL statements from ORMs/Querybuilders with comments that can be used later to correlate user code with SQL statements.

It supports Node v6 and above to use ES6 features.

Supported frameworks:

  • Sequelize
  • Knex.js

Installation

Go into either of the packages packages/knex or packages/sequelize and then you can run respectively

Middleware Command
Knex.js npm install --save @sqlcommenter/knex
Sequelize.js npm install --save @sqlcommenter/sequelize