knex-case-converter-plugin
convert snake_case column names to camelCase on query and the reverse when using parameters
Getting Started
Install it via npm:
npm install knex-
Or Yarn it:
yarn add knex-
And include in your project:
; //samplelet knexConfig = "client": "mysql2" "debug": true "connection": "host": "localhost" "user": "root" "password": "root" "database": "db_test" Object// OR//knexConfig.wrapIdentifier = plugin.wrapIdentifier;//knexConfig.postProcessResponse = plugin.postProcessResponse;
License
GPL-3.0