I have total 45 documents in the collection named users
. Cant understood why the db.users.find({}, {username: 1})
command returning only first 20 documents.
I also tried the db.users.find({}, {username: 1}).limit(40)
to test, but still it returning the same.