Class KyselyCacheAdapter<TType>

To utilize the KyselyCacheAdapter, you must install the "kysely" package and configure a Kysely class instance. The adapter have been tested with sqlite, postgres and mysql databases.

IMPORT_PATH: "@daiso-tech/core/cache/kysely-cache-adapter"

Type Parameters

  • TType = unknown

Implements

Constructors

Methods

  • Initializes the object. Performs any async setup required before the object is usable. Should prepare internal state and verify system dependencies.

    Returns Promise<void>

    Void promise (resolves when initialization complete)

    Error if initialization fails (e.g., connection timeout, validation error)