ColdFusion 9.0 Resources |
ORMEvictEntityDescriptionThis method is used to evict items for the given component name, from the secondary cache. If the primary key is specified, then the data of the entity with that primary key is evicted. Primary key should be a value in case of simple primary key or should be a struct in case of composite primary key. CategorySee AlsoORMEvictCollection, ORMEvictQueries, Evict content from secondary cache in Developing ColdFusion Applications Function SyntaxORMEvictEntity("<component_name>", [primarykey]) Parameters
ExampleTo 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)> |