Skip to content

Ordering foreign key table by another foreign key #3065

Answered by laurenceisla
xadh00m asked this question in Q&A
Discussion options

You must be logged in to vote

Does it work this way?

/films?select=title,nominations(rank,competitions(name, year))&nominations.order=competitions(year).asc

The embedded resource should be called directly without the nominations(...) wrapper (it's already specified in nominations.order=).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by laurenceisla
Comment options

You must be logged in to vote
1 reply
@laurenceisla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3063 on November 22, 2023 14:46.