ORMEvictCollection

This will remove all the entries with the specified relation/collection name in the specified component.
ormEvictCollection(componentName,relationName,[id])

ORMEvictCollection(componentName, relationName [, id])

Argument Reference for the ORMEvictCollection function

componentName

Required: Yes
No Help Available

relationName

Required: Yes
No Help Available

id

Required: No
No Help Available

Examples sample code invoking the ORMEvictCollection function


Tag Example

To evict all the association or collection data of collection arts belonging to the component CArtists:

<cfset ORMEvictCollection("CArtists", "arts")> 

Fork me on GitHub