UNPKG

knex-mysql-global-model

Version:
32 lines (22 loc) 603 B
# knex-mysql-global-model knex-mysql-global-model is a easy mysql model modification from knex.js. # Require Package! - knex - http-errors - dotenv - mysql How to use: - npm install al Require Package! - require("dotenv") before used knex-global-model - const globalModel = require("knex-global-model"); And enjoy! ### Function knex-global-model have insert, select, update, delete and can add condition join and else. | table | README | | ------ | ------ | | name | coming soon | | condition | coming soon | | whereNot | coming soon | | leftJon | coming soon | License ---- MIT