# Delete rows

> Remove matching rows from a collection.

Source: https://docs.buildcord.dev/nodes/variables-and-data/delete-rows/

`data.remove` deletes every row that matches a condition.

## Settings

| Setting | What it does |
| --- | --- |
| Collection | The collection to remove from. |
| Where | Which rows to delete. |

## Ways out

`out`. Turn on **If it fails** for a red way out.

## Notes

> **Warning**
>
> An empty **Where** matches every row, so the collection is emptied. Check it before you deploy.

## Related

- [Find rows](https://docs.buildcord.dev/nodes/variables-and-data/find-rows)
- [Change rows](https://docs.buildcord.dev/nodes/variables-and-data/change-rows)
