翻译或纠错本页面

cursor.size()

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