Get Subcollection when querying collection

Database & APIs

So I'm querying my Users collection and needs to also retrieve data from the "activities" subcollection, I need to dynamically load each activity belonging to the users friends into a listview but currently when i query to get all the users friends documents I don't see any apparent way to get the friends subcollection data too and load it in reliably. There will be multiple activities per user as well.

What have you tried so far?

I've tried to find the answer myself but haven't found a way

Did you check FlutterFlow's Documentation for this topic?
Yes
3
4 replies