Class E097_TreeQueryRoots

Assembly: redb.Examples.dll

Find root nodes in tree.
WhereRoots returns only top-level nodes (parent_id = null).

[ExampleMeta("E097", "Tree Query - Roots Only", "Trees", ExampleTier.Free, 2, new string[] { "Tree", "TreeQuery", "WhereRoots", "Pro" }, RelatedApis = new string[] { "ITreeQueryable.WhereRoots", "IRedbService.TreeQuery" })]
public class E097_TreeQueryRoots : ExampleBase

Inheritance

ObjectExampleBaseE097_TreeQueryRoots

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)