You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var level = require('level')
|
|
var concat = require('.')
|
|
|
|
level('DB', function (err, db) {
|
|
if (err) throw err
|
|
db.put('foo', 'bar', function (err) {
|
|
if (err) throw err
|
|
concat(db.iterator(), function (err, data) {
|
|
if (err) throw err
|
|
console.log(data)
|
|
})
|
|
})
|
|
})
|