Rohan Rajpal
08/03/2022, 7:42 AMRohan Rajpal
08/03/2022, 7:58 AMAustin
08/08/2022, 9:26 PMqueryRaw is still the best way forward, as far as I know. Prisma allows ordering by relations, but when using a list of relations, you can only order by the relation _count.
There’s a related feature request here, feel free to add a 👍 and your specific use case.Rohan Rajpal
09/02/2022, 1:01 PMqueryRaw is what I’ll have to do since I also have to implement an infinite scroll in my case so that is definitely not possible right now. Have upvoted and left a comment on the issue tho, thanks!