Lucee object methods reference

Object Method Query.addColumn

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.
Query.addColumn(string column,[any datatype_or_array,[any array]]):number

Category

query

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