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"