Skip to main content

IndexedDBDataSource.get() method

Gets value from the indexed db storage by given key

Signature:

get(key: string, keyName?: string): Promise<Type | undefined>;

Parameters

ParameterTypeDescription
keystringkey value
keyNamestring(Optional) key name

Returns:

Promise<Type | undefined>