🗑️
Delete from Vault
base.db.deleteBase SetVaultPermanently removes rows from one of your Vault tables. Pick the table, choose which column to match on, and only those rows get deleted. No filter? The whole table is wiped — so be careful!
When to use this
- →Always set a filter — without one, the entire table gets wiped!
- →Pair with a Condition first to double-check before deleting important data
On the canvas
This is what Delete from Vault looks like when you place it on your flow. Each field below is something you configure in the inspector panel.
🗑️Vault
Delete from Vault
base.db.deletetablerequired
Pick a table…
filterColumn
e.g. user_id
filterValue
e.g. {{user.id}}
Config fields
| Field | Type | Req | What it does |
|---|---|---|---|
tablePick a table… | text | yes | Table 🗄️ |
filterColumne.g. user_id | text | — | Filter column |
filterValuee.g. {{user.id}} | text | — | Filter value |
Output ports
outputMoves on after the rows are deleted
📐
In TypeScript, this would be…
Not something you need to write — just a look at what Kitcord does for you.
TypeScript
await db.run(
"DELETE FROM coins WHERE user_id = ?",
[userId],
);
// Omit WHERE only if you intend to wipe the whole tableMore Vault pieces