get aggregation buckets
This block is part of the array group and was last modified in core v10.4.28.
get aggregation buckets v10.4.28 Returns aggregation buckets from the given array.
In pins 1
- Array required
arrayThe array from which to retrieve aggregation buckets.
Out pins 1
- Array
arrayAn array of objects representing aggregation buckets.
Reads ONLY the first element of the input, expects it to be an aggregation result object, and outputs the buckets array found under its alphabetically first key; every other input element is ignored. Outputs an empty array when the input is empty, the first element is not an object, or no buckets array is found there.
A typical wiring for get aggregation buckets: the array out pin feeds length.

Version history
Introduced in v10.4.28.
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
