Page Contents
Home > @loopback/repository > KeyValueRepository > get
KeyValueRepository.get() method
Get an entry by key
Signature:
get(key: string, options?: Options): Promise<T>;
Parameters
Parameter | Type | Description |
---|---|---|
key | string | Key for the entry |
options | Options | Options for the operation |
Returns:
Promise<T>
A promise of the entry