Prisma ORM | MongoDB – how to group documents by mutiple attributes and list the rest of them
I'm developing a quite simple backend application with Express, using Prisma ORM to connect to a MongoDB database. The events collection is filled with documents such as: { "_id": string, "class_code": string "class_type": string, "created_by": string, "end_period": date, "end_time": time,…