Skip to content

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
@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

2 participants