ORMExecuteQuery

Runs the HQL on the default data source specified for the application.

ORMExecuteQuery(hql, params [,unique]);
ORMExecuteQuery(hql, [,unique] [, queryoptions]);
ORMExecuteQuery(hql, params [,unique] [,queryOptions])

ORMExecuteQuery Argument Reference

hql
Required

A HQL query statement

params

A struct or array of query params.

unique

If true returns a single entity instead of an array.

queryoptions

A struct with possible keys: ignorecase, maxResults, cacheable, timeout, datasource

Links more information about ORMExecuteQuery


Fork me on GitHub