Global

Methods

connect(dbpathopt, optionsopt) → {Promise}

connects lowkie to lokijs

Parameters:
Name Type Attributes Default Description
dbpath string <optional>
defaultDBPath
options object <optional>
{}
Source:
Returns:
Type
Promise

handler() → {object}

this is the proxy handler for lowkie, provides access to native loki methods as well.

Source:
Returns:
Type
object

model(model, Schema)

lowkie model proxy for lokijs collection

Parameters:
Name Type Description
model string

name of lowkie model

Schema class

instance of lokieSchema

Source:
Returns:

Proxy