knex-schema-filter
v0.0.3
Published
Knex schema filter by table name
Downloads
14
Keywords
Readme
knex-schema-filter
knex-schema schema filter component.
Install
npm install knex-schema-filter
Usage
var filter = require('knex-schema-filter');
var tableNames = [ 'some-table-name', 'some-other-table-name' ];
filter.filter(schemas, tableNames, function (err, schemas) {
// Schemas contains targeted tableNames deps
});
License
MIT