I am trying to create a List or Snapshot that is comprised of message posts uploaded by the people a user is following.
or in other terms:
"create a user feed generated by the people you are following."
Within firebase there are three tables ( I know they are not referred to as tables, but i'm coming from a SQL background)
My intentions were to keep the data shallow, based on things i've read, i'm assuming this is a good practice. I also made the Keys in the Following table and Followers table the UIDs of the users.
The UIDs is also stored as part of the POST in the Posts table. I assumed that the UID could be used to link the data across a these tables.
I have 2 main questions?:
Does the structure of the data need to be changed to make this work in Firebase?
If not, I understand that joins are not a feature of Firebase, but I assume there is an alternative or work around. What would that query look like?