forEach not working properly on EJS template
|Added at||2016-12-21 01:12|
I was trying to grab all the students from the database collection and have them display row by row in the EJS template. I thought a forEach would be the best way to do this but it only displayed one entry when there were 6. Any advice on how I could display all entries would be greatly appreciated.
In this GET request I fetched all the students from my database and the page on which they would be displayed