Deletes a serialized db from the catalog.
the name of the database to delete from the catalog.
a Promise that resolves after the database was deleted
Removes all database partitions and pages with the base filename passed in. This utility method does not (yet) guarantee async deletions will be completed before returning
the base filename which container, partitions, or pages are derived
Allows retrieval of list of all keys in catalog along with size
(Optional) callback to accept result array.
Retrieves object array of catalog entries for current app.
should accept array of database names in the catalog for current app.
Retrieves a serialized db string from the catalog.
the name of the database to retrieve.
a Promise that resolves after the database was loaded
Saves a serialized db to the catalog.
the name to give the serialized database within the catalog.
the serialized db string to save.
a Promise that resolves after the database was persisted
Deregisters the indexed storage as plugin.
Registers the indexed storage as plugin.
Generated using TypeDoc
Loki persistence adapter class for indexedDb. This class fulfills abstract adapter interface which can be applied to other storage methods. Utilizes the included LokiCatalog app/key/value database for actual database persistence. IndexedDb storage is provided per-domain, so we implement app/key/value database to allow separate contexts for separate apps within a domain.