const db = require('../../data/dbConfig'); module.exports = { getDailyAverages } function getDailyAverages(id) { return db('dailyAverages') .where({ id }); }