sleep-tracker-backend/services/dailyAverages/dailyAveragesModel.js

10 lines
163 B
JavaScript

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