Patch

Updates given fields of a model object in the database (to reset all of the fields, use the Update block).

Flow Connections

  • [Input] In - starts the block's execution.

  • [Output] Out - activates when the block has finished its execution.

Data Connections

  • [Input] Model (model) - model object to be patched. The system will extract its ID, find it in the database, and update only those fields which are not null in the input model object.

  • [Input] set_null_fields (string array, optional) - fields to be set to null in the database. Names of the fields should be provided in lowercase snake case (e.g. "first_name").

Last updated