TTC
Theo's Typesafe Cult.ketchikan
Prisma Create with Connect Issue
Hey!
I wasn't able to find another thread explaining this, but I'd love help with this!
I have two tables in my database right now, they are Org and OrgType (in Prisma). Here is how they look right now:
I'm using the T3 stack going off the Chirp tutorial video (I'm a noob at js), and I'm trying to insert into the Org table, which has the orgTypeId that I need to insert (this is selected via a dropdown on the client side).
Any help would be greatly appreciated!
K
.ketchikan•379d ago
Here is what my create procedure looks like right now:
21KMembers
View on DiscordWant results from more Discord servers?
More PostsGenerating image background jobI'm making a game where you can create levels in HTML5 Canvas and upload them to the api. I will neeHelp with Vercel deploymentHi folks, I am having issues deploying to vercel. I keep getting this error:My DB shouldn’t be this slow, RIGHT❓A fresh DB (pscale) and Table with just two entries, but takes 10s to fetch them (prisma studio)
I’❌ tRPC failed on profile.getUserByUsername: No "query"-procedure on path "profile.getUserByUsername"I am a bit lost.
This is the profileRouter.
export const profileRouter = createTRPCRouter({
getU