text: const Models = require('../models')
  
  const find = (
    model,
    filters = {},
    limit = 20,
    offset = 0,
    orderBy = '_id',
    session = ''
  ) =>
    Models[model]
      .find(filters)
      .limit(parseInt(limit))
      .skip(parseInt(offset))
      .sort(orderBy)
      .session(session)
      .exec()
  
  module.exports = find
  