This will remove all the entries for the specified component name from the entity cache.
ormEvictEntity(componentName,[id])
Lucee Function Reference
ormevictentity()
Example
ormevictentity(String entityName,[String primaryKey]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
entityName | String | Yes | |
primaryKey | String | No |