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

10 lines
173 B
JavaScript
Raw Normal View History

const db = require('../../data/dbConfig');
module.exports = {
getDailyAverages
};
function getDailyAverages(id) {
2019-08-01 20:31:44 +00:00
return db('dailyAverages')
.where({user_id : id });
}