# 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

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| entityName | String | Yes | Entity name |  |
| collectionName | String | Yes | Name of the collection in the component |  |
| primaryKey | String | No | Primary key of the collection or association data of the entity |  |

# Examples

*There are currently no examples for this function.*







# Categories

[ORM](../../categories/orm.md)