I have a collection of posts (/posts) each one referencing the id of the author (in /users) and I was wondering, is there a way to do a double query using a streambuilder in flutter (get the posts infos and then for each post query the users info for the authorID) ? And if not, what is the best way to approach this ? :)
Example of my firestore structure:
- posts
- postID
- authorID
- text
- timestamp
- otherfields...
- users
- userID
- name
- email
- otherfields