These are chat archives for Automattic/mongoose

Sep 2016
Sep 04 2016 16:37
Hello all...
I have one question
I have a function findOne
if the system doesn't find the key, how I can add it?
Sep 04 2016 16:54
If I use the .save option, I have this warning
DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead:
Do you can help me to not have warning?
And why when I insert with .save, it generate in schema a variable _v set to 0?
if I use .insert, this variable are not generated