How to Perform Multiple _count Aggregations in a Single Prisma Request?
I am working on a NestJS project and using Prisma as my ORM. I need to aggregate multiple counts in my getAdminOverview method. Currently, I am making separate requests for each aggregation, which is inefficient. Here is my current implementation: