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

Saving same key twice creates 2 data rows rather than updating existing key #46

Open
cbshakumar opened this issue Jun 30, 2014 · 1 comment

Comments

@cbshakumar
Copy link

Hi, If I am attempting to "update" a row of data...if I get a document, then change it and attempt to save it again using the same key....it simply adds a new record to the flat file database. Over time, this causes the flat file database to become huge and unmanageable. I would like a way to update a data row by key that does not cause data to be created needlessly.

@josheverett
Copy link

This is a feature of the library, not a bug.

From the readme:

nStore uses a safe append-only data format for quick inserts, updates, and deletes.

nStore is great for prototyping and small private apps. Not a lot else.

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

No branches or pull requests

2 participants