sqlcommenter is a plugin/middleware/wrapper to augment SQL statements from Knex.js with comments that can be used later to correlate user code with SQL statements.
It supports Node v6 and above to use ES6 features.
npm install @google-cloud/sqlcommenter-knex
const sknex = require('@google-cloud/sqlcommenter-knex');