sleep-tracker-backend/services/dailyAverages/dailyAveragesModel.js
ruihildt 77a4c28757 Fix dailyAverages query on session update & test
- Add dailyAverages seeds
- Start implementing testing
2019-08-02 01:18:56 +02:00

10 lines
173 B
JavaScript

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