ormEvictEntity

This will remove all the entries for the specified component name from the entity cache.
ormEvictEntity(componentName,[id])

ormEvictEntity(componentName [, id]) → returns void

ormEvictEntity Argument Reference

componentName string
Required

No Help Available

id string

No Help Available

Examples sample code invoking the ormEvictEntity function

To evict all the cache data of CArtist entity:

<cfset ormEvictEntity("CArtists")> 

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

<cfset ormEvictEntity("CArtists", 1)> 

Fork me on GitHub