Readonly
[initProtected
_dbProtected
_iteratorProtected
_lockProtected
Optional
_locksProtected
_transactionReferences to transactions
Protected
Optional
cryptoReadonly
dbProtected
fsProtected
loggerProtected
Optional
workerBatches operations together atomically
Protected
canaryClear all key values for a specific level This is not atomic, it will iterate over a snapshot of the DB
Dump from DB
This will show entries from all levels
It is intended for diagnostics
Use console.dir
instead of console.log
to debug the result
Set root
to true
if you want to dump from root levels
Optional
levelPath: readonly (string | Buffer)[]Optional
raw: falseOptional
root: booleanOptional
root: booleanGets a value from the DB Use raw to return the raw decrypted buffer
Optional
raw: falsePublic iterator that works from the data level If keys and values are both false, this iterator will not run at all You must have at least one of them being true or undefined
Optional
levelPath: readonly (string | Buffer)[]Optional
options: DBIteratorOptionsPut a key and value into the DB Use raw to put raw encrypted buffer
Optional
raw: falseOptional
sync: booleanOptional
sync: booleanProtected
setupProtected
setupStatic
createDBGenerated using TypeDoc
References to iterators