Class E156_MathAbs

Assembly: redb.Examples.dll

Demonstrates Math.Abs() in Where clause for range filtering around a target value.
Finds employees aged 30-40 (within 5 years of 35).
Pro feature: server-side ABS() function.

[ExampleMeta("E156", "Where - Math.Abs", "Query", ExampleTier.Pro, 156, new string[] { "Math", "Abs", "Range" }, RelatedApis = new string[] { "IRedbQueryable.Where", "Math.Abs" })]
public class E156_MathAbs : ExampleBase

Inheritance

ObjectExampleBaseE156_MathAbs

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)