[Firebase] Where should data be saved in firebase database?

(SVasco) #1

I used the following blocks:


There is a “Utilizadores” (green) tag on the root of the database (that I added manually on the firebase database), and the blocks code added a new “Utilizadores” (red) inside an “app” tag!
What is the best method to work? Inside the “Utilizadores” (green) tag on the root, or in the default “Utilizadores” (red) tag inside the “app” tag?

I thought that it should be on the “Utilizadores” (green) tag in the root! Now I’m confuse :thinking:

And if the best method is on the root (green) how to set up the blocks to save it in the root (inside the “Utilizadores”)?

(DjJohn) #2

Remove the first / before utilizadores on your block…
I mean utilizadores/ not /utilizadores
I think this would help :thinking:

(SVasco) #3

Thank you DjJohn07!

I forgot to add this blocks:

This way the “Utilizadores” tag is now saved on the database root!

1 Like