Reference to the open database.
The local index is used to keep track of which keys are in the object store(s). This is initialised when the database is opened and updated when set requests are made. It is used to perform early rejects on get requests we know will fail (because there is no key in the store), avoiding expensive database transactions.
A dictionary of records that are waiting to be committed.
How many read transactions are currently created. We always want read transactions to take priority over writes, so when this is non-zero the write chain is interrupted.
Name of the object store for the cache. This is set once when the db is created.
Generated using TypeDoc
Is there a running readwrite transaction? If so don't start another one or we may commit records multiple times (wasting time).