Lucee Function Reference
Function QUERYCOLUMNDATA
Returns all the data in a query for a given column
Example
querycolumndata(query query,string columnName,[function closure]):array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
query | query | Yes | query object do get data from |
columnName | string | Yes | name of the column returned |
closure | function | No | UDF/Closure that call with the values from column |