Indexable
[k: string]: any
Properties
Static MemDown
MemDown: MemDownConstructor
Methods
batch
- batch(): AbstractChainedBatch<string, Buffer>
- batch(array: ReadonlyArray<AbstractBatch<string, Buffer>>, cb: ErrorCallback): AbstractChainedBatch<string, Buffer>
- batch(array: ReadonlyArray<AbstractBatch<string, Buffer>>, options: AbstractOptions, cb: ErrorCallback): AbstractChainedBatch<string, Buffer>
-
Returns AbstractChainedBatch<string, Buffer>
-
Parameters
-
array: ReadonlyArray<AbstractBatch<string, Buffer>>
-
cb: ErrorCallback
Returns AbstractChainedBatch<string, Buffer>
-
Parameters
-
array: ReadonlyArray<AbstractBatch<string, Buffer>>
-
options: AbstractOptions
-
cb: ErrorCallback
Returns AbstractChainedBatch<string, Buffer>
close
- close(cb: ErrorCallback): void
del
- del(key: string, cb: ErrorCallback): void
- del(key: string, options: AbstractOptions, cb: ErrorCallback): void
-
Parameters
-
key: string
-
cb: ErrorCallback
Returns void
-
Parameters
-
key: string
-
options: AbstractOptions
-
cb: ErrorCallback
Returns void
get
- get(key: string, cb: ErrorValueCallback<Buffer>): void
- get(key: string, options: AbstractGetOptions, cb: ErrorValueCallback<Buffer>): void
-
Parameters
-
key: string
-
cb: ErrorValueCallback<Buffer>
Returns void
-
Parameters
-
key: string
-
options: AbstractGetOptions
-
cb: ErrorValueCallback<Buffer>
Returns void
iterator
- iterator(options?: AbstractIteratorOptions<string>): AbstractIterator<string, Buffer>
-
Parameters
-
Optional options: AbstractIteratorOptions<string>
Returns AbstractIterator<string, Buffer>
open
- open(cb: ErrorCallback): void
- open(options: AbstractOpenOptions, cb: ErrorCallback): void
-
Parameters
Returns void
-
Parameters
-
options: AbstractOpenOptions
-
cb: ErrorCallback
Returns void
put
- put(key: string, value: Buffer, cb: ErrorCallback): void
- put(key: string, value: Buffer, options: AbstractOptions, cb: ErrorCallback): void
-
Parameters
-
key: string
-
value: Buffer
-
cb: ErrorCallback
Returns void
-
Parameters
-
key: string
-
value: Buffer
-
options: AbstractOptions
-
cb: ErrorCallback
Returns void