Constructor
new ConfigurablePouchDBStoreFactory(options)
Parameters:
| Name | Type | Argument | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
The optional options to be applied to every PouchDBPersistenceStore
instances created by this factory.
Properties
|
Methods
-
createPersistenceStore(name, options) → {Promise.<PouchDBPersistenceStore>}
-
Parameters:
Name Type Argument Description namestring The name to be associated with the store. optionsobject <optional>
The configratuion options to be applied to the store. Properties
Name Type Argument Description versionstring <optional>
The version of the store. Returns:
returns a Promise that is resolved to a PouchDB backed PersistenceStore instance with specified configurations.- Type
- Promise.<PouchDBPersistenceStore>