vehler
vehler
DTDrizzle Team
Created by charliearlie on 3/27/2024 in #help
Unable to infer relationship between tables
12 replies
DTDrizzle Team
Created by charliearlie on 3/27/2024 in #help
Unable to infer relationship between tables
For my case, i've re-worked the relations like you suggested here and I'm getting the relations from the many to many (groupId, userId from the example) as expected but i dont know how to get the list of groups from the relationship when i query with "findMany" and
{
with: {
usersToGroups: true
}
}
{
with: {
usersToGroups: true
}
}
12 replies
DTDrizzle Team
Created by charliearlie on 3/27/2024 in #help
Unable to infer relationship between tables
i have the same issue, i came by to see if there were answers lol,
12 replies