.save() is not working. Link is supposed to be added in the website url but dose not appear
I am trying to make a blog page with express, mongoose, node js. I have added the database but when using the .save() function it dosent generate a id needed in the website url
4 Replies
not sure I can help with anything related to mongodb, but if you don't show any code, no one else will be able to either
Database---url? What
1. Have you tried making a good model for your blog schema
2. Are you using pure mongodb or mongoose
3. If using mongoose after exporting the model you could use the [name].create({})
i have fixed it
i forgot to download mongodb and connect it to the server
Thank you for your help anyways
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View