3 ms·
But what about many to many relations? How do those map to nosql?
by Dylan16807 15y ago
But what about many to many relations? How do those map to nosql?
- artsrc 15y agoI think there are three physical ways to do this. With nosql they are all 'in model', including the relational one, with elements with both other keys as a key. But the other two with a list of keys as part of the values is available too.
- JulianMorrison 15y agoInstead of: [person_id,person_name] [team_id,team_name] [person_id, team_id] You get: [person_id, person_name, [team_id, team_id, ...]] [team_id, team_name, [person_id, person_id, ...]]