ORMEvictCollection()
This will remove all the entries with the specified relation/collection name in the specified component.
ORMEvictCollection( entityName=String, collectionName=String, primaryKey=String );
Returns: void
| Argument | Description |
|---|---|
|
entityName
String,
required
|
edit
Entity name |
|
collectionName
String,
required
|
edit
Name of the collection in the component |
|
primaryKey
String,
optional
|
edit
Primary key of the collection or association data of the entity |
Examples
editThere are currently no examples for this function.
See also
- ORM
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)