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

Is this project still alive? #44

Open
Removed-5an opened this issue Nov 5, 2013 · 3 comments
Open

Is this project still alive? #44

Removed-5an opened this issue Nov 5, 2013 · 3 comments

Comments

@Removed-5an
Copy link

I really love the concept of nstore and it's just what I need. Is this still usable with node 0.10 as it hasn't been updated anymore in the past 2 years?

@joeyguerra
Copy link

I'm currently using it if that's any consolation (https://github.com/ijoey/joeyguerra).

@Removed-5an
Copy link
Author

Can I update/insert in one command?

@joeyguerra
Copy link

I'm using it with node v0.10.1. Yes:
var repo = nStore.new(path + '/data/posts.db', function(){
repo.save(req.params.key, post, function(err, key){
if(err) console.log('error saving ', err);
});
});

But it appends the updated version of the document to the file. So if you open posts.db, you'll see multiple JSON documents for the same key after updating.

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