Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement deletion of persisted data #26

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

philippgille
Copy link
Owner

@philippgille philippgille commented Feb 28, 2024

This is the third of at least 3 PRs for adding persistence to chromem-go.

  1. Write data when adding collections/documents (Add persistence (write) #23 + Fix collection name is not persisted #24)
  2. Read data from files when creating new DB (Add persistence (read) #25)
  3. Delete data on collection deletion or DB reset <-- we're here

Tested with the example code (temporarily added db.DeleteCollection("Wikipedia") and another time db.Reset()).

Apart from these three mandatory features, future additions are envisioned: Encryption, choice of encoding (e.g. JSON in addition to gob), choice of storage (e.g. via https://github.com/philippgille/gokv), compression via gzip, and many more

@philippgille philippgille merged commit d728d41 into main Feb 28, 2024
2 checks passed
@philippgille philippgille deleted the persistence-delete branch February 28, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant