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