remove
Remove a record and potentially its referenced records from this cache and all chained caches
Return
true
if a record with such key was successfully removed, false
otherwise
Parameters
cacheKey
of record to be removed
cascade
remove referenced records if true
Remove records whose key matches a given pattern from this cache and all chained caches
Return
the number of records deleted accross all caches
Parameters
pattern
a pattern to filter the cache keys. 'pattern' is interpreted as in the LIKE operator of Sqlite.
'%' matches any sequence of zero or more characters
'_' matches any single character
The matching is case-insensitive
'\' is used as escape See https://sqlite.org/lang_expr.html for more details