Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
riccardolardi
Explore posts from servers
T
tRPC
P
Prisma
TTC
Theo's Typesafe Cult
Posts
Comments
P
Prisma
•
Created by riccardolardi on 7/25/2024 in
#help-and-questions
findMany where first/latest of 1:n relation meets certain condition
Bump... pseudo code could look like this:
{
where
: {
myRelation
: {
first
: {
myField
: {
equals
:
"some value"
}
}
}
}
{
where
: {
myRelation
: {
first
: {
myField
: {
equals
:
"some value"
}
}
}
}
3 replies