Is it possible to just append to Firebase Objects?
When you call a save in Firebase it won’t append to the current value as such, maybe append is the wrong word, but for single values it is okay, but with objects, well I am struggling.
My issue is I am dealing with users who’s accounts contain date like friends (for chats) and all their profile data.
What I want to be able to do is add values to a tag and not have to worry about getting the original value, then uploading the original value plus the new one, as I will be dealing with potentially endless values.
Example:
The main tag is the username. In this tag we have sub tags / objects that contain profile data and friends list. Then another object inside this object called chat list, which contains all the chats sent from that user and the other user. But this chat list object / tag thing can be endless, depending on how many chats that the user has. But I can’t create an object block with 1000 values and hope that works that is just stupid.
Really I need any help I can get in over coming this issue. Is there something I am doing wrong, usually it is.
All help would be much appreciated!
Thank you.