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])
Lucee Function Reference
ormevictqueries()
Example
ormevictqueries([String cacheName,[string datasource]]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
cacheName | String | No | |
datasource | string | No | datasource used for the session, if nor defined the datasource defined in application.cfc/cfapplication is used. |