Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

level-cbatch

kesla13MIT0.0.1

A chainable api for batch() in levelup

batch, levelup

readme

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);
});