Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 1895f92

Browse files
committed
Add type property for reachdown (Level/community#82)
1 parent 0dda6f4 commit 1895f92

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/levelup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ LevelUP.prototype.toString = function () {
344344
return 'LevelUP'
345345
}
346346

347+
LevelUP.prototype.type = 'levelup'
348+
347349
function maybeError (db, callback) {
348350
if (!db._isOpening() && !db.isOpen()) {
349351
process.nextTick(callback, new ReadError('Database is not open'))

0 commit comments

Comments
 (0)