I have the following problem: I have a list of nearby places provided by the Google Places API and a Firebase db containing ratings for many places matched by their places_id. Now, I want to get the ratings from my Firebase for the according nearby places. Is there any way to combine or optimize these individual queries instead of querying every single places_id in a for-loop?
Thanks in advance.