ORMEvictEntity

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

ORMEvictEntity(componentName [, id])

ORMEvictEntity Argument Reference

componentName
Required

No Help Available

id

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