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"

firebase

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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -