knex-dynamic-connection

v1.0.3
Adds support for dynamically returning connection config for knex queries
knex db

mrm

mrm --preset=@adonisjs/mrm-preset

lint

eslint . --ext .ts

test

npm run docker:build && docker-compose -f docker-compose.yml -f docker-compose-test.yml run --rm test

build

npm run compile

clean

del build

commit

git-cz

compile

npm run lint && npm run clean && tsc

pretest

npm run lint

release

np

test:pg

DB=pg node japaFile.js

version

npm run build

test:mssql

DB=mssql node japaFile.js

test:mysql

DB=mysql node japaFile.js

test:docker

npm run test:mysql && npm run test:mysql2 && npm run test:mssql && npm run test:pg

test:mysql2

DB=mysql2 node japaFile.js

docker:build

docker-compose -f docker-compose.yml -f docker-compose-test.yml build

Metadata

  • MIT
  • Whatever
  • virk
  • released 12/11/2019

Downloads

Maintainers