Skip to content

Change select list of embedded resource without changing endpoint URL #3158

Discussion options

You must be logged in to vote

That's because resource embedding in views require that:

The foreign keys’ columns must be present in the top SELECT clause of the view for this to work.

No need to select all the columns, but the poll_choices id must be present. See Foreign Key Joins on Views in the docs.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by wolfgangwalther
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