Class E162_SqlFunctionPower

Assembly: redb.Examples.dll

Demonstrates Sql.Function for mathematical SQL functions.
Uses POWER to square the age and filter employees with Age^2 > 900 (Age > 30).
Pro feature: arbitrary SQL function calls via Sql.Function<T>().

[ExampleMeta("E162", "Sql.Function - POWER", "Query", ExampleTier.Pro, 162, new string[] { "Sql.Function", "POWER", "Math" }, RelatedApis = new string[] { "Sql.Function" })]
public class E162_SqlFunctionPower : ExampleBase

Inheritance

ObjectExampleBaseE162_SqlFunctionPower

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)