Class E125_AverageAsync

Assembly: redb.Examples.dll

Calculates average of a numeric field using AverageAsync.
Server-side aggregation without loading objects.

[ExampleMeta("E125", "AverageAsync - Mean", "Analytics", ExampleTier.Free, 125, new string[] { "Average", "Avg", "Aggregation", "Analytics" }, RelatedApis = new string[] { "IRedbQueryable.AverageAsync" })]
public class E125_AverageAsync : ExampleBase

Inheritance

ObjectExampleBaseE125_AverageAsync

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)