Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function QUERYADDCOLUMN

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.

Example

queryaddcolumn(query query,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
query query  Yes Name of a query object.  
column string  Yes  
datatype_or_array any  No  
array any  No