You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: