level-cbatch

A chainable api for batch() in levelup

npm install level-cbatch
8 downloads in the last month

level-cbatch

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);
});
npm loves you