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

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