QueryAddColumn

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

Method Signature

QueryAddColumn(query=[query], columnName=[string], datatype=[any], array=[array])

Arguments

ArgumentTypeRequiredDescriptionDefault

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

[]

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC