count method
Configures the aggregation to perform a count.
Returns: The same AggregateQuery instance configured for counting.
Example:
var countQuery = aggregateQuery.count();
Implementation
AggregateQuery count() {
return query.count();
}
Configures the aggregation to perform a count.
Returns: The same AggregateQuery instance configured for counting.
Example:
var countQuery = aggregateQuery.count();
AggregateQuery count() {
return query.count();
}