I\'m a little confused reading the Mongoose documentation.
If I run a query in mongoose which matches no documents in the collection, what are the values of err>
err>
It depends on the query. If it is a find, then results == []. If it is a findOne, then results == null. No errors if everything else is ok.
find
results == []
findOne
results == null