saj
saj
TTCTheo's Typesafe Cult
Created by saj on 8/7/2023 in #questions
How do you revalidateTag or revalidatePath with a server component prisma fetch or server action?
Nevermind, it was more straightforward than I assumed - I just added revalidatePath('/path/path); to my prisma update server action.
4 replies
TTCTheo's Typesafe Cult
Created by saj on 4/26/2023 in #questions
Question about Prisma Joins and Performance
Also I was trying to do something like: TableA … TableB TableC _count select TableD where TableC ColA But you couldn’t do a nested count with a select thinkies
11 replies
TTCTheo's Typesafe Cult
Created by saj on 4/26/2023 in #questions
Question about Prisma Joins and Performance
Yup I’m already doing index on all relations. I just want to make sure I’m not shooting myself in the foot by using Prisma since I’m expecting even more complex joins down the road. In fact, I already ran into a wall with my example join and had to split up the select into another table inefficiently. This all stems from some Twitter convo I saw about how Prisma joins are not true joins, and how other ORMs handle this subject matter better. I thought maybe the community here could shed some light on this subject
11 replies