Lucee Function Reference
Function ENTITYTOQUERY
Converts the input entity object or the input array of entity objects to a query object.
Example
entitytoquery(object entity,[string name]):query
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| entity | object | Yes | entity or array of entities |
| name | string | No | name of the entities |