Before anything else: Thanks for the very cool library!
—–––––––––––––––––––––––––––––––
How can we create queries that sort by attributes in our resource's relationships?
Say for instance I have the resource Cars with a belongsTo('make') relationship.
I would like to be able to create a query where I get the cars sorted by their associated makes' name, something like this:
Before anything else: Thanks for the very cool library! —––––––––––––––––––––––––––––––– How can we create queries that sort by attributes in our resource's relationships?
Say for instance I have the resource
Cars
with abelongsTo('make')
relationship. I would like to be able to create a query where I get the cars sorted by their associated makes' name, something like this:Is this doable?