Storing a list of ids in Firebase
问题 I can't figure out how to solve this issue with firebase : I have users, each user has posts, each post has an id generated by firebase, how can I store these ids in a user node ? I'm using string,concatenating them, parsing them in my js app. Basically treating them as a csv file. But i guess that's a very ugly solution What would be the way to store this kind of data ? Edit: UserID : Username = "User Name" Posts = "id1,id2,id3,id4" When a user has a new post, I use a transaction to append a