Private cachePrivate extentPrivate sqlPrivate cachePrivate clearPrivate clearReturns cache for a specific filtering scenario.
getCache
list of filter keys influencing this cache
if the cache includes extent based filters
resolves in a filter result appropriate for the parameters. returns undefined if no cache exists.
Private getPrivate
Returns cache key depending on the situation we are in.
getCacheKey
list of filter keys influencing this cache
if the cache includes extent based filters
the cache key to use
Returns a SQL WHERE condition that is combination of active filters.
getCombinedSql
Optional exclusions: string[] = []list of any filter keys to exclude from the result. omission includes all filters
all non-excluded sql statements connected with AND operators.
Sets a filter query in a cache, so repeated identical requests will only hit the server once
setCache
the query we want to cache
list of filter keys influencing this cache
if the cache includes extent based filters
Registers a new extent for cache tracking.
setExtent
the extent to filter against
Returns list of filter keys that have active filters
sqlActiveFilters
Optional exclusions: string[] = []list of any filter keys to exclude from the result. omission includes all filters
list of filter keys with active filter sql
Generated using TypeDoc
Returns list of cache keys that have caches
Method
cacheActiveKeys