I have a Firebase database with a list of users and a list of best friends, a user's best friends can be pulled by using it's userid:
users list:
- userid
- user data
- userid
- user data
- ..
best friends list:
- userid
- userid of friend
- userid of friend
- ...
- userid
- userid of friend
- userid of friend
- ...
- ...
- ...
Is there a way using the Firebase api to get the friend's data in a list instead of a list of userid's of your friends when making the call to get your best friends ? Now i have to do 2 steps (get best friends id's -> loop users for friend's data)