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 @opentelemetry/sqlcommenter-knex
const sknex = require('@opentelemetry/sqlcommenter-knex');