Skip to content

🗑️ Need: Permanent Record Deletion & Space Reclamation #406

@MrRoy121

Description

@MrRoy121

store.record(key).delete() marks records as deleted but doesn't reclaim disk space. For production apps handling user data deletion, GDPR compliance, or managing app size—this is a blocker.
What We Need
A built-in way to permanently delete records without nuking the entire database:

await store.record(key).deletePermanently(db);
// or
await store.compact(db);  // Reclaim space for deleted records

Why It Matters

  • User privacy (actual deletion, not ghost data)
  • Disk space management
  • Production-ready data handling
    Current Status
    Only workaround: close DB → delete .db file → reinitialize (loses all data). That's not viable.
    Please provide a proper API for this. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions