What's the recommended way to handle joins that aggregate results?
I'm currently converting a codebase that uses raw sql postgres queries over to drizzle, and have this query:
I was wondering what the recommended way of queries that aggregate joins using functions such as
I was wondering what the recommended way of queries that aggregate joins using functions such as
JSON_AGG or ARRAY_AGG?