ORMEvictEntity

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

ORMEvictEntity(componentName [, id])

Argument Reference for the ORMEvictEntity function

componentName

Required: Yes
No Help Available

id

Required: No
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