Navigation
This version of the manual is no longer supported. 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.