Saving data in the database

After sending the information, it is displayed in the database, but if I send it a second time, the old information is deleted and the new one is written. How can I make it so that all the sent information is stored in the database?


Hello dear,

It’s a completely normal behavior.
To solve this issue, you should use a different tag, or save what is already present in that tag into a variable, add a value, and rewrite the entire node.

Or what I always recommend is using Firebase with the web component, and leveraging the POST method to have Firebase create unique, ordered keys.

This guide by :raising_hands:Tim:raising_hands: contains all the information you’ll need if you want to use this method.

2 Likes