I have a query
const a = await prisma.$queryRaw`
SELECT r.name as name, r.profileId as profile, o.lastName as lastName
FROM UserSetting r , User o
WHERE r.userId=o.id
`
When I run that I get relation "userSetting" does not exist
even though it does in prisma's model...
Even though i have the following relationship
UserSetting
user Owner @relation(fields: [userId], references: [id])
userId Int
User
UserSetting UserSetting[]
What am I doing wrong and how can I fix it?