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