3 ms·
What you need is good old array_agg(expression) with group by. Json capabilities may be needed for more complex hierarchical structures.
by hamilyon2 11y ago
What you need is good old array_agg(expression) with group by.
Json capabilities may be needed for more complex hierarchical structures.