Skip to content

Commit

Permalink
comment added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvie-Molinatto committed Dec 9, 2023
1 parent fbf3bcc commit 710a291
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/users_dao.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ exports.getStudentById = (id) => {
* @property {string} email
*/

/**
* Return all the exams of the student with the given id
*
* @param {string} id
* @return {Promise<Exams[] | null>}
*/
exports.getStudentCareer = (id) => {
return new Promise((resolve, reject) => {
const sql = 'SELECT cod_course, title_course, cfu, grade, date FROM career WHERE id = ?';
Expand Down

0 comments on commit 710a291

Please sign in to comment.