knex-dynamic-connection

v3.0.1
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

format

prettier --write .

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

sync-labels

github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json thetutlage/knex-dynamic-connection

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 5/22/2023

Downloads

Maintainers