What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-10 22:11:12
show data of mongoose in html page using ejs
app.get('/profileface', isLoggedIn, function(req, res) { // mongoose operations are asynchronous, so you need to wait PracticeModel.find({}, function(err, data) { // note that data is an array of objects, not a single object! res.... Add solution
Best helpers
Mushi.f
+5
Ivan T.
+5
Bianco
+5
Graffito
+5
Mari Yoongi
+5
Tyr
+5
Christophrrb
+5
Vary
+5
Del Findley
+5
Ryan Friend
+5
Millemila
+5
Soumee
+5
Gftern
+5
Davesmiths
+5
Vocaro
+5
Vbence
+5