Class E127_AggregateAsync

Assembly: redb.Examples.dll

Batch aggregation with multiple functions in single query.
Calculates Sum, Avg, Min, Max, Count in ONE SQL request.

[ExampleMeta("E127", "AggregateAsync - Batch", "Analytics", ExampleTier.Free, 127, new string[] { "Aggregate", "Batch", "Sum", "Avg", "Count" }, RelatedApis = new string[] { "IRedbQueryable.AggregateAsync", "Agg.Sum", "Agg.Average", "Agg.Count" })]
public class E127_AggregateAsync : ExampleBase

Inheritance

ObjectExampleBaseE127_AggregateAsync

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)