Class E128_GroupBySimple

Assembly: redb.Examples.dll

Groups objects by a field and calculates aggregates per group.
SQL: GROUP BY Department with SUM, AVG, COUNT.

[ExampleMeta("E128", "GroupBy - Simple", "Analytics", ExampleTier.Free, 128, new string[] { "GroupBy", "Aggregation", "Analytics" }, RelatedApis = new string[] { "IRedbQueryable.GroupBy", "IGroupedQueryable.SelectAsync" })]
public class E128_GroupBySimple : ExampleBase

Inheritance

ObjectExampleBaseE128_GroupBySimple

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)