K
Docs
API ReferencePiecesDelete from Vault
🗑️

Delete from Vault

base.db.deleteBase SetVault

Permanently 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.

🗑️
Delete from Vault
base.db.delete
Vault
tablerequired
Pick a table…
filterColumn
e.g. user_id
filterValue
e.g. {{user.id}}

Config fields

FieldTypeReqWhat it does
table
Pick a table…
textyesTable 🗄️
filterColumn
e.g. user_id
textFilter column
filterValue
e.g. {{user.id}}
textFilter 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 table