# ORMEvictQueries()

This will remove all the queries from the named query cache.

If name is not specified, all queries from default cache will be removed.
ormEvictQueries([cacheName])

```
ORMEvictQueries( cacheName=String, datasource=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| cacheName | String | No | Name of the cache region that you want to evict *Alias: cache, region* |  |
| datasource | string | No | datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used. |  |

# Examples

*There are currently no examples for this function.*







# Categories

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