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