OptionalenableTransactions?: booleanOptionalexpiredKeysRemovalInterval?: ITimeSpanHow often expired cache entries are automatically removed in the background.
The Kysely database instance with the required cache schema tables applied.
Serde instance for serializing and deserializing cache values to and from strings.
OptionalshouldRemoveExpiredKeys?: booleanWhen true, a background task periodically removes expired keys.
Set to false to disable automatic cleanup.
Configuration for
KyselyCacheAdapter. Requires a Kysely database instance and a serde for serialising cache values to strings.IMPORT_PATH:
"@daiso-tech/core/cache/kysely-cache-adapter"