Answers for "adonis order by relation"

1

adonis order by relation

// you must join relation first
User.query()
.join('colaborator_data', 'colaborator_data.doctor_id', '=', 'users.id')
Posted by: Guest on December-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language