group by
This block is part of the array
group and was last modified in core v10.4.28
.
group by
v10.4.28
Groups the elements of the given array by a specified field.
Pin | Pin | Type | Default |
---|---|---|---|
Array The array of objects to be grouped. |
array |
|
|
field The field based on which to group the objects. |
value |
|
Pin | Pin | Type | Example |
---|---|---|---|
Array An array of objects representing groups, where each group has properties "group" (the grouping value) and "items" (an array of items in that group). |
array |
Core Releases
v10.4.28 This block was introduced inv10.4.28
, click here to see the release notes.
Back to
array
Return to the main group to view all sub-groups
Back to array
Return to the group to view all blocks within this group