Shahor
Shahor
PPrisma
Created by Shahor on 6/10/2024 in #help-and-questions
Failing to write raw query
I would expect
queryRaw`select * from foo where bar IN (${someArrayOfValues})
queryRaw`select * from foo where bar IN (${someArrayOfValues})
To just understand what I'm trying to do. It seems to be the most likely case anyways, so maybe using helpers for the less common cases would be more "intuitive"
9 replies
PPrisma
Created by Shahor on 6/10/2024 in #help-and-questions
Failing to write raw query
Why does it have to be handled in a special way? Can't it be done by default?
9 replies
PPrisma
Created by Shahor on 6/10/2024 in #help-and-questions
Failing to write raw query
But it's kind of hard to spot as a very tiny paragraph in a wall of text
9 replies
PPrisma
Created by Shahor on 6/10/2024 in #help-and-questions
Failing to write raw query
I'm not sure
9 replies
PPrisma
Created by Shahor on 6/10/2024 in #help-and-questions
Failing to write raw query
Ok, found out about Prisma.join and ... wow is the documentation making simple things hard to find 😐
9 replies