android - Firebase update a lot of children value -
suppose have 10000 children in "post" each node contain children "username". if "usera" added 6000 in 10000 of data. how can update "usera" in every node in "post"
you need know user posts.
you need structure :
root | +-- posts | | | +-- $postid | | | +-- text: $text | | | +-- username: $username | +-- userposts | | | +-- $userid | | | +-- $postid: true
with structure can retrieve posts id user , update posts.
Comments
Post a Comment