query.ToStruct()

Copy the query columns data to struct by using the columnKey argument

Introduced: 6.0.0.302

query.ToStruct( columnKey=string, structType=string, valueRowNumber=boolean )

Returns: Struct

Argument Description
columnKey
string, required

Column name that values are used for struct key

Alias: column, columnName

structType
string, optional

default:ordered, Struct type to created

Alias: type

valueRowNumber
boolean, optional

default: false, the boolean value that indicates the struct values return as column data or row number

Alias: valueAsRowNumber

Examples

There are currently no examples for this function

See also