knex-one
v1.0.2
Published
Knex Based Advanced ORM for Node.js
Downloads
8
Readme
knex-one
Knex Based Advanced ORM for Node.JS
There is only SchemaLoader. SchemaLoader is provides table/view/column/sp metadata for us.
Usage
import {SchemaLoader} from 'knex-one'
const loader = new SchemaLoader(db);
await loader.getTables(); //Retrieve tables metadata
await loader.getViews(); //Retrieve views metadata
await loader.getColumns("SystemUser"); //Retrieves table or view fields metadata
await loader.getStoredProcedures(); //Retrieve sp(s) metadata