Awesome
A chainable api for batch() in levelup
example
levelup(dir, { createIfMissing: true }, function(err, db) {
cbatch(db);
db.cbatch()
.put('foo', 'bar')
.del('hello')
.exec(callback);
});
A chainable api for batch() in levelup
levelup(dir, { createIfMissing: true }, function(err, db) {
cbatch(db);
db.cbatch()
.put('foo', 'bar')
.del('hello')
.exec(callback);
});