TypeError: Db.findWConditionandler Is Not A Function MongoDB
This is actually a continuation of my previous question and I'm reasking as I've realised I didn't quite ask the question problem and now I have a different error response. This is
Solution 1:
The problem is because .sort expects a cursor and .findOne() doesn't not give a cursor. Instead, one should use .find()
Post a Comment for "TypeError: Db.findWConditionandler Is Not A Function MongoDB"