Hey folks, Sync schema question! I’ve noticed whe...
# realm
i
Hey folks, Sync schema question! I’ve noticed when I use a one to many relation that the schema generated for mongodb creates a new collection and then an array of IDs to that collection. Why not just create an array with documents in the first collection? In my cases that would certainly be easier to maintain.
c
Normal relationships are modelled in the documents as a ID-reference. The feature you are requesting is what we refer to as embedded objects and is unfortunately not supported yet
i
Thank you for the reply!