Lucee Function Reference
ormexecutequery()
Runs the HQL on the default data source specified for the application.
Example
ormexecutequery(string hql,[any paramsOrUnique,[any uniqueOrQueryOptions,[any queryOptions]]]):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
hql | string | Yes | The HQL query that has to be executed |
paramsOrUnique | any | No | Object parameter for the entity |
uniqueOrQueryOptions | any | No | Specifies if the object parameter is unique |
queryOptions | any | No | Options for the query |