Playing Next Lesson In
seconds

Let's Learn AdonisJS 6 #8.4

Joining SQL Tables To Order By A Related Column

In This Lesson

We'll learn how to join a related table into our query and use that table to apply a sort via the relationship. We'll then see how we can conditionally apply this join only when it's needed for the selected order by.

Created by
@tomgobich
Published

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!