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]) → returns void

ormEvictCollection Argument Reference

componentName string
Required

No Help Available

relationName string
Required

No Help Available

id string

No Help Available

Examples sample code invoking the ormEvictCollection function

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

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

Fork me on GitHub