.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
Jochem
Jochem2y ago
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
Electronic
Electronic2y ago
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({})
Tremors
TremorsOP2y ago
i have fixed it i forgot to download mongodb and connect it to the server Thank you for your help anyways
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server