Delete Row

The Delete Row step allows you to delete a row or multiple rows in a table by a given condition.

Specify the filter condition to find the row to delete:

// id = 23
{{ui.table.deletedRow.data.id}}

You can also specify multiple conditions. In this case, the row will be deleted if all conditions are met.

This condition will be sent to the server and converted to a DELETE statement like this:

DELETE FROM users WHERE id = 23

You can check the Payload section to see the actual conditions 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 deleting all rows in the table if the Bulk Delete setting is enabled.

No rows will be deleted if the conditions aren't met.

Additional settings

If you need to delete multiple rows, you can use the Bulk Delete setting.

Note: be careful with this setting, it can delete all rows in the table.

Last updated

© 2024 UI Bakery