snapcap
API ReferenceFunctions

idbDelete

Function: idbDelete()

function idbDelete(
   sandbox: Sandbox, 
   dbName: string, 
   storeName: string, 
key: string): Promise<void>;

Defined in: storage/idb-utils.ts:219

Delete the entry at (dbName, storeName, key) in the given Sandbox's IndexedDB. No-op if absent.

Parameters

ParameterTypeDescription
sandboxSandboxThe Sandbox whose IDB shim handles the delete.
dbNamestringIndexedDB database name.
storeNamestringObject store name within the database.
keystringRecord key within the object store.

Returns

Promise<void>

See

On this page