1.0.1 • Published 5 years ago
knex-tools v1.0.1
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)