ORMQueryExecute()
Modern alias to ORMExecuteQuery(). Run an HQL query on the default ORM datasource.
Requires Extension: Hibernate ORM Engine Extension
ORMQueryExecute( hql=string, paramsOrUnique=any, uniqueOrQueryOptions=any, queryOptions=any );
Returns: any
| Argument | Description |
|---|---|
|
hql
string,
required
|
edit
The HQL query string to execute. |
|
paramsOrUnique
any,
optional
|
edit
Struct of named parameters, array of positional parameters, or boolean unique flag. Alias: params |
|
uniqueOrQueryOptions
any,
optional
|
edit
Boolean unique flag (if params provided) or struct of query options. Alias: unique |
|
queryOptions
any,
optional
|
edit
Struct of query options: maxResults, offset, cacheable, cacheName, timeout, datasource. |
Examples
There are currently no examples for this function 34,312ms WARN No examples for function ORMQueryExecuteSee also
- ORM
- EntityLoad()
- ORMExecuteQuery()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)