Method GroupByArray<TItem, TKey>(Expression<Func<TProps, IEnumerable<TItem>>>, Expression<Func<TItem, TKey>>)

Assembly: redb.Core.dll

Group by the elements of an array. The array is a chain of fields (x => x.Items,
x => x.Address.Building.Amenities) or an inner array reached with SelectMany
(x => x.Contacts.SelectMany(c => c.Metadata)). The key is a field of the element, an anonymous type
of fields, or the element itself for an array of simple values (s => s). Any other form throws
.

IRedbGroupedQueryable<TKey, TItem> GroupByArray<TItem, TKey>(Expression<Func<TProps, IEnumerable<TItem>>> arraySelector, Expression<Func<TItem, TKey>> keySelector)