You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First i want to know if its ok for parent child relationship? i need parents with their childs and child with parent.
The issue is when i get child i get list of children with his parent and parent has again a list of children and children has parent and again parent has children. and this goes so on..
Same this applies when i get list of parents. let data = realm.objects('parent');
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a realm db schema like shown below.
First i want to know if its ok for parent child relationship? i need parents with their childs and child with parent.
The issue is when i get child i get list of children with his parent and parent has again a list of children and children has parent and again parent has children. and this goes so on..
Same this applies when i get list of parents.
let data = realm.objects('parent');
Beta Was this translation helpful? Give feedback.
All reactions