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

vue.js - Create hooks for automated testing -

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

serial port - hub4com OVERRUN Error -