QueryColumnArray()
return the column names as array
QueryColumnArray( query=query );
Returns: Array
Argument | Description |
---|---|
query
query,
required
|
This is the query object from which you want to extract the column data. It should be a valid query object. |
Examples
qry=QueryNew("aaa");
arr1 = [];
QueryAddColumn(qry,"bb",arr1);
writeDump(queryColumnArray(qry));
See also
- Queries
- Arrays
- query.columnArray()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)