I'm using Realtime Database and I would like to change the location of some data. My database has lots of user IDs so I cannot just do it manually. I would like to just use some javascript code to do it for me. Here's an example of the "nodes" (Is it right?):
{
"Users": {
"123123": {
"Economy": {
"money": 10
}
},
"878787": {
"Economy": {
"money": 50
}
}
}
And here's what I want this to change:
{
"Economy": {
"Users": {
"123123": {
"money": 10
}
"878787": {
"money": 50
}
}
}