Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
How to change location of data in Realtime Database

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
      }
    }
  }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!