Navigation

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.