Adds a column to a query and populates its rows with the
contents of a one-dimensional array. Pads query columns,
if necessary, to ensure that all columns have the same number
of rows.
Lucee Object Methods Reference
Object Method Query.addColumn
Query.addColumn(string column,[any datatype_or_array,[any array]]):number
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
column | string | Yes | |
datatype_or_array | any | No | |
array | any | No |