Class E193_AverageAsyncFiltered

Assembly: redb.Examples.dll

AverageAsync with Where filter applied before aggregation.
Filter employees by age range, then calculate average salary.
Tests Pro filter handling in single Aggregation.

[ExampleMeta("E193", "AverageAsync - With Filter", "Analytics", ExampleTier.Free, 193, new string[] { "Average", "Where", "Filter", "Aggregation" }, RelatedApis = new string[] { "IRedbQueryable.AverageAsync", "IRedbQueryable.Where" })]
public class E193_AverageAsyncFiltered : ExampleBase

Inheritance

ObjectExampleBaseE193_AverageAsyncFiltered

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)