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. 🙏
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:
Why It Matters
Current Status
Only workaround: close DB → delete .db file → reinitialize (loses all data). That's not viable.
Please provide a proper API for this. 🙏