© 2026 Hedgehog Software, LLC
const result = await prisma.user.findUnique({ where: { id }, include: { posts: { select: { _count: true } } } });