Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

cursor.size()

cursor.size()
Returns:A count of the number of documents that match the db.collection.find() query after applying any cursor.skip() and cursor.limit() methods.