Hey. I have a model that has two relations. Both r...
# orm-help
t
Hey. I have a model that has two relations. Both relations have a
score
field. I want to sort the model by the average of the two
score
fields on its relations. Is this possible with Prisma client, or do I have to do a raw sql?
r
@timothykrell 👋 A raw query would be needed for this use case
✅ 1