Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion leveldown.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ function LevelDOWN (location) {
throw new Error('constructor requires a location string argument')
}

AbstractLevelDOWN.call(this)
AbstractLevelDOWN.call(this, {
bufferKeys: true,
snapshots: true,
permanence: true,
seek: true,
clear: true,
createIfMissing: true,
errorIfExists: true,
additionalMethods: {
approximateSize: true,
compactRange: true
}
})

this.location = location
this.context = binding.db_init()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"prebuild-centos7": "IMAGE=centos7-devtoolset7 ./scripts/cross-compile"
},
"dependencies": {
"abstract-leveldown": "~6.1.1",
"abstract-leveldown": "~6.2.1",
"napi-macros": "~2.0.0",
"node-gyp-build": "~4.1.0"
},
Expand Down