Class: PouchDBPersistenceStoreFactory

QuickNav

PouchDBPersistenceStoreFactory

PersistenceStoreFactory that creates PouchDB backed PersisteneStore instance.

Methods

createPersistenceStore(name, options) → {Promise.<PouchDBPersistenceStore>}

Parameters:
Name Type Argument Description
name string The name to be associated with the store.
options object <optional>
The configratuion options to be applied to the store.
Properties
Name Type Argument Description
version string <optional>
The version of the store.
Returns:
returns a Promise that is resolved to a PouchDB backed PersistenceStore instance.
Type
Promise.<PouchDBPersistenceStore>