This will remove all the entries for the specified component name from the entity cache.

ormEvictEntity(componentName [, id]) → returns void

ormEvictEntity Argument Reference

componentName string

No Help Available

id string

No Help Available

Examples sample code invoking the ormEvictEntity function

Tag Example

To evict all the cache data of CArtist entity:

<cfset ormEvictEntity("CArtists")> 

Tag Example

To evict the cache data of CArtists entity whose primary key is 1:

<cfset ormEvictEntity("CArtists", 1)> 

Fork me on GitHub