Skip to content

CTEs and @*ToMany #1755

Answered by jwgmeligmeyling
Pilpin asked this question in Q&A
Discussion options

You must be logged in to vote

Well a ToMany relation would require either a join table or a join column on the target entity, so no, there's no way to make this work with a single CTE I am afraid. You would need to construct your query differently.

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
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