So, I have modeled these entities:
- Feed
- Collection
Where I have these relationships:
- A Feed has a Collection, and a collection alone (1 to 1)
- A Collection may have any number of Feeds (1 to N)
- A Collection may have any number of Collections (1 to N)
And what I'm trying to express visually:
- Collection
- Collection
- Feed
- Collection
- Feed
- Feed
- Feed
- Feed
- Collection
- Collection
- Feed
- Feed
- Feed
How can I return a tree in a table result? Or maybe this is not the right question? I know what I want, but I'm not sure what I should be reading about in order to understand this problem.
Thanks!