Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ORMEVICTCOLLECTION

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

Example

ormevictcollection(String entityName,String collectionName,[String primaryKey]):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
entityName String  Yes  
collectionName String  Yes  
primaryKey String  No