I have two table User and User role. where I want to add relation between these two table. I want to add Userrole into user table. here is my schema in mongo realm schema.
After doing this…when I query the data it gives me empty array of user. it is confusing how the schema will look like if i want to apply realm sync and how data population will done.
your help will be appreciated.!! Thank You in advance.