API Reference
Rockets Core API
ts-common
interfaces
CacheUpdateInterface

Interface: CacheUpdateInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

update()

update(assignment, cache, options?): Promise<CacheInterface>

Update a cache based on params

Parameters

ParameterTypeDescription
assignmentstringThe cache assignment
cacheCacheUpdatableInterfaceThe dto with unique keys to delete
options?O-

Returns

Promise<CacheInterface>

Defined in

ts-common/src/cache/interfaces/cache-update.interface.ts:17 (opens in a new tab)