Fetching details of a group user belongs to in firebase
问题 Below is my database structure in firebase . I only have signed-in users Id. User -userId -Name -age -groups groupId1:true groupId2:true Group -groupId -name -desc -UserId -UserId1:true -UserId2:true I want to list the details of all the groups that user belongs to. My approach is, Find all the groups my user belongs to by checking the index from User. Using the list of groupid we got from step1, get details of group from Groups. Is there any other better suggestions? 回答1: With your current