cursor.size()

  • cursor. size ( )
Returns:应用任何cursor.skip()cursor.limit()方法后与db.collection.find()查询匹配的文档数。