Open History to see the last commit
Defined in: packages/db/src/indexed-db.ts:116
A shared IndexedDB database instance. Create with createIndexedDB() and pass to collections.
Properties#
close()#
close: () => void;
Defined in: packages/db/src/indexed-db.ts:128
Close the connection and mark its managed Collections as errored.
Returns#
void
db#
readonly db: IDBDatabase;
Defined in: packages/db/src/indexed-db.ts:118
The underlying IDBDatabase connection
idbFactory?#
readonly optional idbFactory: IDBFactory;
Defined in: packages/db/src/indexed-db.ts:126
IDBFactory used to create this database (for testing)
name#
readonly name: string;
Defined in: packages/db/src/indexed-db.ts:120
Database name
stores#
readonly stores: readonly string[];
Defined in: packages/db/src/indexed-db.ts:124
Requested object store names (frozen); omissions do not remove stores
version#
readonly version: number;
Defined in: packages/db/src/indexed-db.ts:122
Database version