add test file

This commit is contained in:
xfarrow
2024-02-21 12:51:33 +01:00
parent cfdac4872e
commit b1e41237a4
3 changed files with 52 additions and 0 deletions

View File

@ -49,6 +49,11 @@ async function getPersonByEmail(email){
.first();
}
/**
* Get Person by Id
* @param {*} id - The id to look the person for
* @returns
*/
async function getPersonById(id){
return await knex('Person')
.select('*')