query.addColumn()

Adds a column to a query and populates its rows with the contents of an one-dimensional array.

Pads query columns, if necessary, to ensure that all columns have the same number of rows.

query.addColumn( column [, datatype_or_array [, array ] ] )

Returns: Number

Argument Description
column
string, required

Alias: columnname

datatype_or_array
any, optional

Alias: datatype

array
any, optional

Examples

There are currently no examples for this function

See also