new LokiParty(path, dbAdapter, lokiOptions)
A local party based on LokiJS.
Works great for front end. Doesn't scale well for centralized server use and does not have efficient file system representation for many embedded applications. Overall this driver is RAM bound holds the entire DB in memory. When running on filesystems this driver re-writes the entire collection during save operations.
Parameters:
Name | Type | Description |
---|---|---|
path | string | Path on filesystem to lokijs db file |
dbAdapter | LokiAdapater | Lokijs db adapter, see: http://techfort.github.io/LokiJS/tutorial-Persistence%20Adapters.html |
lokiOptions | Object | Options to pass to lokijs see: http://techfort.github.io/LokiJS/Loki.html |
- Source
Extends
Methods
(static) handleCall(ask)
Parameters:
Name | Type | Description |
---|---|---|
ask | Object |
- Source
Returns:
(static) start()
- Source