Joey
09/25/2022, 3:22 PMconst blogs = await prisma.blogs.findMany({where: { userId }, include: {user:true}});
is prisma / sql smart enough so that it won’t do a join on every single one of the results, since it will always be the same userId/user?
if not, is it recommended to just fetch that user once in a separate query?Nurul
09/26/2022, 7:31 AM