@stopsopa/knex-abstract
v0.0.55
Published
[![Build Status](https://travis-ci.org/stopsopa/knex-abstract.svg?branch=v0.0.55)](https://travis-ci.org/stopsopa/knex-abstract) [![npm version](https://badge.fury.io/js/%40stopsopa%2Fknex-abstract.svg)](https://badge.fury.io/js/%40stopsopa%2Fknex-abstrac
Downloads
49
Readme
Installation:
npx @stopsopa/knex-abstract
cd knex-project
cat test.js
# and see Makefile
usege:
require('@stopsopa/dotenv-up')(4, false, '.env');
const knex = require('@stopsopa/knex-abstract');
const config = require('config');
knex.init(config);
(async function(){
const list = await knex().model.common.raw('show tables');
// ...
knex().destroy();
})();
examples:
See example of config
Follow: