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

10 lines
158 B
JavaScript

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