Mongodb wrong return from Mycollection.find().count();

Viewed 82

i have a problem with my app. When written this db.request.count(); on mongo shell i have 4, but when i written Request.find().count() in my js code i have 0. Someone can help me ?

2 Answers
Related