Kloak Bridge / Exports / IDBDatabaseHelper
+ new IDBDatabaseHelper(databaseName?
: string, version?
: number): IDBDatabaseHelper
Name | Type |
---|---|
databaseName? |
string |
version? |
number |
Returns: IDBDatabaseHelper
Defined in: IDBDatabaseHelper.ts:8
• Private
databaseName: string= 'kloak'
Defined in: IDBDatabaseHelper.ts:7
• Private
version: number= 1
Defined in: IDBDatabaseHelper.ts:8
▸ clearObjectStore(): Promise<boolean>
Returns: Promise<boolean>
Defined in: IDBDatabaseHelper.ts:40
▸ delete(uuid
: string): Promise<string>
Name | Type |
---|---|
uuid |
string |
Returns: Promise<string>
Defined in: IDBDatabaseHelper.ts:87
▸ getObjectStore(): Promise<[tx: IDBTransaction, objectStore: IDBObjectStore]>
Returns: Promise<[tx: IDBTransaction, objectStore: IDBObjectStore]>
Defined in: IDBDatabaseHelper.ts:15
▸ retrieve(uuid
: string): Promise<any>
Name | Type |
---|---|
uuid |
string |
Returns: Promise<any>
Defined in: IDBDatabaseHelper.ts:67
▸ save(uuid
: string, data
: any): Promise<string>
Name | Type |
---|---|
uuid |
string |
data |
any |
Returns: Promise<string>
Defined in: IDBDatabaseHelper.ts:54