Lucee Function Reference
Function CACHEDELETE
Deletes a single element from the cache.
Example
cachedelete(string id,[boolean throwOnError,[string cacheName]]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | the id of the element to delete, can also contain a "," (not used as separator) |
throwOnError | boolean | No | define if the functions throws a exception when the element does not exist (default is false). |
cacheName | string | No | definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead. |