/level-cbatch

A chainable api for batch() in levelup

Primary LanguageJavaScript

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