I\'m using this function to get one element with a foreign element in another table. This is the code
getItem: (data, callBack) => { pool.query( `SELECT * FR