Interface: CacheGetOneInterface<O>
Type Parameters
| Type Parameter | Default type |
|---|---|
O extends ReferenceQueryOptionsInterface | ReferenceQueryOptionsInterface |
Methods
get()
get(
assignment,cache,queryOptions?):Promise<null|CacheInterface>
Get One cache based on params
Parameters
| Parameter | Type | Description |
|---|---|---|
assignment | string | The cache assignment |
cache | Pick<CacheInterface, "assignee" | "type" | "key"> | The dto with unique keys to delete |
queryOptions? | O | - |
Returns
Promise<null | CacheInterface>
Defined in
ts-common/src/cache/interfaces/cache-get-one.interface.ts:16 (opens in a new tab)