Save Data in Database

Save data in the cloud database

The save database data is a function in the cloud database functions which allows to write registers on the database this is a set which saves new data to the specified database path, adding or replacing any existing data at that path.

📥 Entry vars

  • Should update DB cache: you could activate this function to update de database cache data.

  • Updates to make to the DB: you can open the database path to view and modify the database.

  • Database path: you can open the database path to view and modify the database.

****↗ Callbacks

  • Error saving data: you can set functions after the database can't be saved.

  • Data saved: you can set functions after the database can be saved.

👉 Example.

  1. Select a button on the screen.

  2. Put a on press in functions menu.

  3. Activate a save data in database.

  4. Open the database path.

  5. Create a favorite collection.

  6. Create two fields, firstly name and secondly direction.

  7. Select which element will be used for input on the controller menu.

  8. Open the callbacks of in save data in database and add a send alert.

  9. Put OK in the title of the send alert.

Última actualización