Firebase Key value overwritten?


I have created a database in Firebase.

I have followed the Firebase documentation in Thunkable docs. When I press my Button the value is stored from a textbox, but the value is overwritten the next time I press the button. Why isn’t a new row and value added to the database?

Firebase does not use rows and columns. It uses key:value pairs called nodes. So if you tell Firebase to save something to a certain path such as /Users/bob/note, it will overwrite the existing value each time.

If you want to add values to a path/node, you can do that by replacing the entire object at that node (objects can contain multiple values) or by adding a list item to an existing object.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.