an open database
the object store the snapshot goes in, with no key path
the object store records go in, with an auto-incremented key
adds the records after those held
removes everything held, and the account's database
everything held
replaces everything held with this snapshot and no records
Staticopenopen the database of account's saved state, rmapi-state- and the
account's storageName, making it if it
is not there
a StateStore in IndexedDB, for a browser: the snapshot under one key and the records under increasing keys, each call one transaction
One opened with
openis the account's own database, whichclear, as on signing out, deletes.