Comment on SQL and NoSQL are two sides of the same coin, mathematicallyComments−Dylan1680714yBut what about many to many relations? How do those map to nosql?−JulianMorrison14yInstead 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, ...]]−artsrc14yI 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.
Comments
But what about many to many relations? How do those map to nosql?
Instead of:
You get:I 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.