
exports.get = function getMany(model, params) {
}

exports.add = function add(model, data) {
}

exports.update = function update(model, id, data) {
}

exports.delete = function delete(model, id, params) {
}

function get(model, params, cb) {
}

function add(model, data, cb) {
}

function update(model, id, data, cb) {
}

function del(model, id, params, cb) {
}

function getNameFromModel(model) {
  return new model().tableName;
}

exports.get = get;
exports.add = add;
exports.update = update;
exports.delete = del;
exports.getNameFromModel = getNameFromModel;
Add function to get table name from model
Add function to get table name from model
