I am using a firebase cloudstore. I know that there are no joins available. But I can't even find a way to query data efficiently by making two separate queries.
I have two collections
users
- fullname
- avatar
posts
- text
- postOwner (userId)
I want to query for posts get all users ids and then query users collection for additional information. But it seems that there is no way to load data in bulk given list of ids. (react-native-firebase)
- How can I do that?
- Do you think this data model well structured? Any alternatives?
If there is no way please recommend a workaround.