Unable to query data
I am trying to query learning targets from a specific test but I don't know why it won't let me. Any help? I have added the db schema, the trpc protocol, and the html code.



8 Replies
in the prisma findUnique call add include: { learningTargers: true }
Where would I add that?
after the where
where: {id: input.id} , { learningTargers: true }
i did that
and it gave me an error

no in the first argument
I got it
i also wanted to get the questions that are in the learning targets
how would i do that
here is the schema
