Skip to content

Relations

DavidDuwaer edited this page Nov 27, 2017 · 1 revision

Querying relations

A relation albums on Artist can be queried just as Artist can be, like this:

artist.albums()
    .orderBy('name')
    .get()
Clone this wiki locally