Class E190_SumAsyncFiltered

Assembly: redb.Examples.dll

SumAsync with Where filter applied before aggregation.
Filter employees by department, then calculate total salary.
Tests Pro filter handling in Aggregation.

[ExampleMeta("E190", "SumAsync - With Filter", "Analytics", ExampleTier.Free, 190, new string[] { "Sum", "Where", "Filter", "Aggregation" }, RelatedApis = new string[] { "IRedbQueryable.SumAsync", "IRedbQueryable.Where" })]
public class E190_SumAsyncFiltered : ExampleBase

Inheritance

ObjectExampleBaseE190_SumAsyncFiltered

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)