SqlCacheStrategy
A CacheStrategy that stores cached items in the database. This is the strategy used by the DefaultCachePlugin.
- Implements:
CacheStrategy
cacheSize
property
ttlProvider
property
CacheTtlProviderconstructor
method
(config?: { cacheSize?: number; cacheTtlProvider?: CacheTtlProvider }) => SqlCacheStrategyconnection
property
TransactionalConnectionconfigService
property
ConfigServiceinit
method
(injector: Injector) => get
method
(key: string) => Promise<T | undefined>set
method
(key: string, value: T, options?: SetCacheKeyOptions) => delete
method
(key: string) => invalidateTags
method
(tags: string[]) => Was this chapter helpful?