orderBy related table column
Given a relational query such as
how can I additionally order by a column from the
team1
relation? (bear in mind that a limit
and offset
may be used, so I don't want to have to fetch all results then sort them after, as it defeats the point of using mysql for this task)7 Replies
hi! I am facing a similar issue, were you able to find a solution?
I haven't yet
@Andrew Sherman any ideas?
so do you need to order
macthes
by team1
value?yea
I think it's possible for now with current Relational API capabilities. But this part of Drizzle will be improving, so I guess eventually we will have it
So I can't do it just yet? Or it just a documentation issue?
can't do it yet