grouped(by:)
Creates a grouping of rows that the method selects by choosing unique values in a column.
Declaration
func grouped<GroupingKey>(by columnID: ColumnID<GroupingKey>) -> RowGrouping<GroupingKey> where GroupingKey : HashableParameters
- columnID:
A column identifier.
Return Value
A collection of groups.