Whatever message this page gives is out now! Go check it out!
| Parameter | Description |
cachename | Name of the cache region that you want to evict. |
datasource | Name of the data source whose cache you want to evict. If you do not specify the cache, the default query cache is evicted. |
| Parameter | Description |
Hql | The HQL query that has to be executed. |
Params | Object parameter for the entity. |
Unique | Specifies if the object parameter is unique. |
Queryoptions | Key-value pair of options for the query. |
<cfset artistArr = ORMExecuteQuery("from Artists where artistid=1", true, {datasource="cfartgallery"})>
<cfset countArray = ORMExecuteQuery("select count(*) from Authors", \[], false, {datasource="cfbookclub"})>