API Reference
Rockets Core API
ts-common
interfaces
CacheGetOneInterface

Interface: CacheGetOneInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

get()

get(assignment, cache, queryOptions?): Promise<null | CacheInterface>

Get One cache based on params

Parameters

ParameterTypeDescription
assignmentstringThe cache assignment
cachePick<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)