A chainable api for batch() in levelup
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
README.md
cbatch.js
package.json

README.md

level-cbatchbuild status

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