Class E076_Distinct

Assembly: redb.Examples.dll

Get unique objects by Props hash using Distinct().
Server-side: SELECT DISTINCT ON (_hash) - deduplicates by Props content.

[ExampleMeta("E076", "Distinct - Unique by Props", "Query", ExampleTier.Free, 76, new string[] { "Distinct", "Unique", "Dedupe" }, RelatedApis = new string[] { "IRedbQueryable.Distinct" })]
public class E076_Distinct : ExampleBase

Inheritance

ObjectExampleBaseE076_Distinct

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)