[]
Represents a collection of IndexedGroup<T>, groups of elements with the same key, resulting from a search operation with grouping. This class has a derived class GroupingQuery<TKey, T> with specific type of the key used for the index search.
public abstract class GroupingQuery<T> : IEnumerable<IndexedGroup<T>>, IEnumerable
Name | Description |
---|---|
T | The type of the elements of the indexed collection. |
The result of any index search operation, IndexQuery<T> can be grouped by applying GroupByUntypedKey(). It is grouped by the key that was used to perform the search operation. For example,
customers.Indexes(c => c.City).All().GroupByUntypedKey();
customers.Indexes(c => c.City).FindBetween("A", "Z").GroupByUntypedKey();
Name | Description |
---|---|
GetEnumerator() | Returns an enumerator that iterates through the GroupingQuery<T>. |