queryAddColumn

Overview ColdFusion Open BlueDragon Lucee

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.

Attributes

Name Required Type Default Description
array No
array_name Yes Array
column No
column_name Yes String
datatype No String Column data type.
datatype_or_array No
query Yes Query