---
title: "Delete"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/sqlite/delete
markdown: https://docs.nodetool.ai/nodes/lib/sqlite/delete.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/sqlite/delete.md
---

# Delete

**Type:** `lib.sqlite.Delete`

**Namespace:** `lib.sqlite`

## Description

Delete records from a SQLite table.
    sqlite, database, delete, remove, drop

    Use cases:
    - Remove flashcards
    - Delete agent memory
    - Clean up old data

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| database_name | `str` | Name of the SQLite database file | `memory.db` |
| table_name | `str` | Name of the table to delete from | `flashcards` |
| where | `str` | WHERE clause (without 'WHERE' keyword), e.g., 'id = 1'. REQUIRED for safety. | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| rows_affected | `int` |  |
| message | `str` |  |

## Related Nodes

Browse other nodes in the [lib.sqlite](./) namespace.
