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]) → returns any

ormExecuteQuery Argument Reference

hql string
Required

A HQL query statement

params any

A struct or array of query params.

unique boolean

If true returns a single entity instead of an array.

queryoptions string

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

Links more information about ormExecuteQuery


Fork me on GitHub