Whatever message this page gives is out now! Go check it out!
EntityToQuery (orm_object, [entity_name])
EntityToQuery (orm_object_array, [entity_name])Parameter | Description |
orm_object | Entity object that needs to be converted to a query object. |
orm_object_array | Array that needs to be converted to a query object. |
entity_name | Name of the entity. Use this optional parameter to return the query of the given entity in the case of inheritance mapping. |
<cfset artists = EntityLoad("Artist")>
<cfset artistQuery = EntityToQuery(artists)>