CacheDelete()
Deletes a single element from the cache.
CacheDelete( id=object, throwOnError=boolean, cacheName=string );
Returns: void
| Argument | Description |
|---|---|
|
id
object,
required
|
edit
the id of the element to delete, can also contain a "," (not used as separator) Alias: name, key |
|
throwOnError
boolean,
optional
|
edit
define if the functions throws an exception when the element does not exist. Default is false. |
|
cacheName
string,
optional
|
edit
definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead. Alias: cache, region |
Examples
editThere are currently no examples for this function.
See also
- Cache
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)