Skip to content

Relationship Question #9

@mxmissile

Description

@mxmissile

Not really an "Issue" but more of a question.

Given Teams and Athletes, Athletes being members of Teams. How would you model this using mobiledb?

Say the Team entity has an Athletes property (Team.Athletes). And I wanted to see a list of all athletes regardless of the team. How would generate that query?

Same goes for reverse, say I have a list of Athletes, but needed to display the parent Team's name in the list. How do you query this without looping through all the athletes and querying the team for each athlete?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions