Update Row
The Update Row action allows you to update a row or multiple rows in a table by a given condition.
First, you need to specify the filter condition to find the row to update.
Then you can specify the values to update, you can do it field by field:
send the updated values as an Object by clicking on the JS button above the right corner of the field:
or as plain js Object:
This object will be sent to the server and converted to an UPDATE statement like this:
You can check the Payload section to see the actual object sent to the server.
Note: If any conditions are specified as null or undefined, they are removed from the conditions list. If all conditions are removed, it may result in updating all rows in the table if the Bulk Update setting is enabled.
Note: the unset fields will be presented as undefined and will not be used in the UPDATE statement.
You can always adjust the data before sending it.
Add additional values
The created_at
column must exist in the table schema, otherwise it will not be sent.
Change the values
Delete unwanted values
alternatively:
Join array values
Use default values
Additional settings
If you need to update multiple rows, you can use the Bulk update setting.
Note: be careful with this setting, it can update all rows in the table.
Last updated