QueryAddColumn
Last updated
Last updated
Adds a column to a query and populates its rows with the contents of a one-dimensional array.
Argument | Type | Required | Description | Default |
---|---|---|---|---|
query
query
true
The query object to which the column should be added.
columnName
string
true
The name of the column to add.
datatype
any
false
The column data type of the new column or the array to populate the column with as a shortcut for "varchar".
Varchar
array
array
false
[]