knex-tools
v1.0.1
Published
```javascript load(knex, table, id, fields = '*') loadAll(knex, table, ids, fields = '*') loadWhere(knex, table, where, fields = '*') loadAllWhere(knex, table, where, fields = '*') countAll(knex, table) countAllWhere(knex, table, where)
Downloads
5
Readme
knex-tools
load(knex, table, id, fields = '*')
loadAll(knex, table, ids, fields = '*')
loadWhere(knex, table, where, fields = '*')
loadAllWhere(knex, table, where, fields = '*')
countAll(knex, table)
countAllWhere(knex, table, where)
exportAll(knex, tableName, func, idField = 'id', batchSize = 2000)