!Stan_---__-
!Stan_---__-
DTDrizzle Team
Created by Kyrre Gjerstad on 3/22/2024 in #help
mysql2 driver in edge middleware
bump, facing the exact same issue all the way down to using RDS :/
6 replies
DTDrizzle Team
Created by --MON-- on 9/12/2023 in #help
onDuplicateKeyUpdate
yep ran into the exact same issue😅
72 replies
DTDrizzle Team
Created by --MON-- on 9/12/2023 in #help
onDuplicateKeyUpdate
thanks anyway!
72 replies
DTDrizzle Team
Created by --MON-- on 9/12/2023 in #help
onDuplicateKeyUpdate
didn't end up needing a transaction
72 replies
DTDrizzle Team
Created by --MON-- on 9/12/2023 in #help
onDuplicateKeyUpdate
all goodd sorry for the hassle, i moved to a promise.all solution instead
72 replies
DTDrizzle Team
Created by --MON-- on 9/12/2023 in #help
onDuplicateKeyUpdate
@--MON-- sry for the ping, did you figure out the solution to the 'transaction pool connection limit exceeded'? I'm following your example line by line basically and am getting the same. To note: I don't have a setTimeout like your case and i have at most 20 queries in my transaction
72 replies
DTDrizzle Team
Created by Huge Letters on 2/3/2024 in #help
Batching statements in MySQL transactions
Rip I also need this for Planetscale :/ Hoping it gets added soon 🤞
21 replies
TTCTheo's Typesafe Cult
Created by gsemyong on 10/21/2023 in #questions
Caching and invalidation in t3-stack with app router and trpc
I saw it in a Jack Herrington video that came out not long ago about using trpc in app router
9 replies
TTCTheo's Typesafe Cult
Created by gsemyong on 10/21/2023 in #questions
Caching and invalidation in t3-stack with app router and trpc
i dont think u can invalidate a server query, that should only be run once on the server. You can try passing the data from the server query to your client component, => create another query via the client api and useQuery ,then use that data passed from the server (in the client comp props) as the initalData prop in the useQuery
9 replies
TTCTheo's Typesafe Cult
Created by !Stan_---__- on 10/23/2023 in #questions
Nextjs link tag preserving state when link to same page
@Josh thanks for the help yesterday, i found this https://www.youtube.com/watch?v=_yhSh4g0NSk insane caching messing everything up, I think i'll just convert it to an anchor tag and do a full page refresh (which i dont think i mind)
8 replies
TTCTheo's Typesafe Cult
Created by !Stan_---__- on 10/23/2023 in #questions
Nextjs link tag preserving state when link to same page
shit that means i have to make my page a client whyyyyyyyyyyyy
8 replies
TTCTheo's Typesafe Cult
Created by !Stan_---__- on 10/23/2023 in #questions
Nextjs link tag preserving state when link to same page
ok i think i understand haha, i assume u mean the side effect being the resetting of the client state in the client component?
8 replies
TTCTheo's Typesafe Cult
Created by embersee on 10/22/2023 in #questions
Error on adding t3 app router to existing NextJS project
Ya I had the same issue, if u add the VERCEL_URL to your .env and env.mjs, the trpc/shared.ts will use that as the url for local development. Instead, add the VERCEL_URL in your env vars in Vercel
39 replies