Class ArrayGroupSqlBuilder

Assembly: redb.Core.Pro.dll

The SQL of a grouping over the elements of an array, for every Pro provider. One shape (docs/array-groupby/PLAN.md):
the objects come from an id source (the planner's streams source, the pivot, a subtree) or, without a condition,
from the scheme; the elements of the last array of the path are found by its structure; every field of an element is
joined to its element (or to its class inside the element) by _array_parent_id, with
_array_parent_id IS NOT NULL so SQL Server reads the filtered covering index.
The provider supplies the id source, the dialect and the JSON wrapper; nothing else differs.

public sealed class ArrayGroupSqlBuilder

Inheritance

Object→ArrayGroupSqlBuilder

Methods

BuildAsync(ArrayGroupQuery, SqlParameterCollector, Func<SqlParameterCollector, Task<IdSource?>>, bool, CancellationToken)

public Task<ArrayGroupSqlBuilder.Result> BuildAsync(ArrayGroupQuery query, SqlParameterCollector collector, Func<SqlParameterCollector, Task<ArrayGroupSqlBuilder.IdSource?>> idSource, bool rankingNeedsOrder, CancellationToken cancellationToken)

Constructors