Click to copy
Resets all the fields of a given model object in the database, and updates them with given values (to only change the fields provided and retain others as they are, use the Patch block).
- [Input] In - starts the block's execution.
- [Output] Out - activates when the block has finished its execution.
- [Input] Model (model) - model object to be updated. The system will extract its ID, find it in the database, and reset all of its fields to null. Then, any of the non-null fields in the input model object will be updated in the database.