The Save in DB function allows the user to save information as an object in a tree structure, this information is saved in json format
Update DB caché: Activating the switch allows the function to update the cache of the query to the database, to show updated data.
Updates to make to the DB: Allows access to the database structure to add fields and create or update a new record
Step by Step :
Error saving data: Triggered when an error occurs when saving or updating a record in the database collection
OutVars
Null
End: It is activated once the function has died, regardless of whether the function's task succeeded or failed.
OutVars
Null
Data saved: Activated when the function successfully saved or updated a data or record
OutVars
Null
Esta funcioón permite trabajar de dos formas:
Crear registro: Para poder crear un nuevo registro, es necesario que el ID del registro no exista con anterioridad en la colección de datos.
Actualizar registros: Para poder actualizar un registro, es necesario que el registro exista y se debe colocar el ID del registro en el campo identifier del path. Puedes agregar datos en campos vacios o actualizar campos con información actualizada.
Cuando se agrega un nuevo registro, pero en el campo identifier no se coloca ningún ID personalizado o automatico, por defecto, la funcioón agregará un ID único, aleatorio e irrepetible.
No se pueden agregar nuevos registros si este no cuenta con informacioón para llenar al menos un campo del registro
Para anidar colecciones a un registro es necesario siempre saber el ID delnregistro en que deseamos agregar la nueva coleccón