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])

ORMEvictCollection Argument Reference

componentName
Required

No Help Available

relationName
Required

No Help Available

id

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