env - Override environment detection as ‘NODEJS’, ‘BROWSER’, ‘CORDOVA’
@field
verbose - Enable console output
@field
autosave - Enables autosave
@field
autosaveInterval - Time interval (in milliseconds) between saves
(if dirty)
@field
autoLoad - Enables auto load on database instantiation
@field
autoLoadCallback - User callback called after database load
@field
autosaveCallback - User callback called after database saved
@field
adapter - An instance of a database persistence adapter
@field
serializationMethod - How to serialize the data
@field
destructureDelimiter - String delimiter used for destructured
serialization
@field
throttledSaves - debounces multiple calls to to saveDatabase reducing
number of disk I/O operations and guaranteeing proper serialization of
the calls.
Configuration for the database.
env - Override environment detection as ‘NODEJS’, ‘BROWSER’, ‘CORDOVA’
verbose - Enable console output
autosave - Enables autosave
autosaveInterval - Time interval (in milliseconds) between saves (if dirty)
autoLoad - Enables auto load on database instantiation
autoLoadCallback - User callback called after database load
autosaveCallback - User callback called after database saved
adapter - An instance of a database persistence adapter
serializationMethod - How to serialize the data
destructureDelimiter - String delimiter used for destructured serialization
throttledSaves - debounces multiple calls to to saveDatabase reducing number of disk I/O operations and guaranteeing proper serialization of the calls.