Class E192_AggregateFiltered

Assembly: redb.Examples.dll

Multiple aggregations with Where filter applied before aggregation.
Filter employees by position, then calculate Sum, Avg, Min, Max.
Tests Pro filter handling in batch Aggregation.

[ExampleMeta("E192", "AggregateAsync - With Filter", "Analytics", ExampleTier.Free, 192, new string[] { "Aggregate", "Where", "Filter", "Sum", "Avg" }, RelatedApis = new string[] { "IRedbQueryable.AggregateAsync", "IRedbQueryable.Where" })]
public class E192_AggregateFiltered : ExampleBase

Inheritance

ObjectExampleBaseE192_AggregateFiltered

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)