CacheRemove

Deletes a single element from the cache.

Method Signature

CacheRemove(id=[any], throwOnError=[boolean], cacheName=[string])

Arguments

Argument
Type
Required
Description
Default

id

any

true

A single ID or an array of IDs to remove from the cache.

throwOnError

boolean

false

If true, throw an exception if the key is not found. Default is false.

false

cacheName

string

false

The name of the cache to get the keys from. Default is the default cache.

default

Examples

Last updated

Was this helpful?