How to pull a single piece of data from Prisma using trpc

I'm working on an e-commerce site for a client using the t3 stack. I'm trying to create a product details page using the data from Prisma and planet scale and I haven't found a solution to getting a specific product. Any solutions to this would be greatly appreciated #questions
3 Replies
Pod
Pod14mo ago
Use findUnique and pass the id of the product
Thorjr5
Thorjr514mo ago
Okay I was looking at the code and was like I know this is simple. Wtf?...lol thank you man.
Pod
Pod14mo ago
Haha no problem