Include a numeric count of the total number of results returned for the query and the total number for each category.
为查询返回结果和每个目录提供统计数量。
MongoDB query results are stored in cursors that provide a range of functions for filtering, aggregation, and sorting including limit(), skip(), sort(), count(), distinct() and group().
MongoDB查询结果存储在提供过滤、聚合和排序等一系列功能的游标中,包括limit()、skip()、sort()、count()、distinct() 和group()。
You can easily count the number of results from your query (see Listing 14).
很容易数清查询结果的个数(参见清单14)。
You can easily count the number of results from your query (see Listing 14).
很容易数清查询结果的个数(参见清单14)。
应用推荐