Module: db

Classes

LowlevelUp
RBT

Methods

(static) LDB(options) → {LowlevelUp}

Create a database.

Parameters:
Name Type Description
options Object
Properties
Name Type Description
compression Boolean
cacheSize Number
writeBufferSize Number
maxOpenFiles Number
sync Boolean
mapSize Number
writeMap Boolean
db String

Database backend ("leveldb" by default).

name String

Database name.

location String

Database location (overrides name).

Source:
Returns:
Type
LowlevelUp