3 ms·
> When dealing with DB/API results, one can of course always say that such grouping in the client is an anti-pattern. It depends on how many data you're workin
by pmontra 3y ago
> When dealing with DB/API results, one can of course always say that such grouping in the client is an anti-pattern.
It depends on how many data you're working on. This groupBy is useful for filters in data tables.
If you have to download a zillion of records and filter them, client side filtering is a bad idea. If you have a few thousands of them, it could possibly be the faster solution overall.
- moritzwarhier 3y agoExactly.