I'm using firebase rest API in my project. I have following data in firebase realtime database.
Users {
-asgfhgkho {
name:Rahul Vyas
email: imrahulvyaas@gmail.com
}
}
History {
-124lahsfaksfh {
players {
-asdfghjikjdlk {
name:Rahul Vyas
email: imrahulvyaas@gmail.com }
}
}
}
Now my question is if I update the name property using patch. How the name will be reflected under History->players->{playerId}->name. How we can refer an user object in multiple different nodes. Note I'm using firebase rest API.
Thanks