Is it possible to use the relation count with filter?
if not, is there any available workaround?
for example: I want to get items(with some filtering) and their counts(using _count or similar), but the count has to be based on the filter.
r
Ryan
07/30/2021, 6:58 AM
@khareta 👋
Currently not, so a workaround would be to either use a raw query or filter it client side at the moment. We do have a feature request so it would be great if you could add a 👍