PRISMA Multiple Relationscts
const usersWithCount = await prisma.user.findMany({
select: {
_count: {
select: {
posts: true,
recipes: true,
},
},
},
})
Puzzled Puffin