These are chat archives for Automattic/mongoose

18th
Mar 2017
~#S*K#~
@srinivasKandukuri
Mar 18 2017 11:56
Hello All
I am new to mongoose
started exploring mongoDb
One thing i want to know how mongoose store data in mongo db as collections
I installed mongoDB and Mongoose in local and using mongoose connected to mongoDB.. But after saving a record unable to see in mongo db ...
So please clarify above point
kvidzibo
@kvidzibo
Mar 18 2017 16:22
Hello guys I have general question, when you should use virtual population and when you should use refs? and should be consider about performance of population?
@srinivasKandukuri are you checking errors?
model.save().then((err, data) => {console.log(err);console.log(data)})
data will be your saved model err will be errors