You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Glossary: DynamicAggregationQuery

Methods

Signature Description
DynamicAggregationQuery<TResult> AndAggregateOn(Expression<Func<TResult, object>> path, string displayName = null) Allows to specify additional data break down during aggregation
DynamicAggregationQuery<TResult> AndAggregateOn(string path, string displayName = null) Allows to specify additional data break down during aggregation
DynamicAggregationQuery<TResult> AddRanges(params Expression<Func<TResult, bool>>[] paths) Adds ranges
DynamicAggregationQuery<TResult> MaxOn(Expression<Func<TResult, object>> path) Performs maximum aggregation
DynamicAggregationQuery<TResult> MinOn(Expression<Func<TResult, object>> path) Performs minimum aggregation
DynamicAggregationQuery<TResult> SumOn(Expression<Func<TResult, object>> path) Performs sum aggregation
DynamicAggregationQuery<TResult> AverageOn(Expression<Func<TResult, object>> path) Performs average aggregation
DynamicAggregationQuery<TResult> CountOn(Expression<Func<TResult, object>> path) Performs count aggregation
FacetResults ToList() Executes dynamic aggregation and returns results as facets
Lazy<FacetResults> ToListLazy() Schedules dynamic aggregation in lazy fashion
Task<FacetResults> ToListAsync() Asynchronously executes dynamic aggregation and returns results as facets