Class ComposedEntityCacheAdapter<TFields>

A IEntityCacheAdapter that composes other IEntityCacheAdapter instances.

Type Parameters

  • TFields

Implements

Constructors

Methods

  • Negatively cache objects that could not be found in the cache or DB.

    Type Parameters

    • N extends string | number | symbol

    Parameters

    • fieldName: N

      object field being queried

    • fieldValues: readonly NonNullable<TFields[N]>[]

      fieldValues for objects reported as CacheStatus.NEGATIVE in the cache and not found in the DB.

    Returns Promise<void>