QueryColumnList()
return the column names as list
QueryColumnList( query=query, delimiter=string );
Returns: String
Argument | Description | Default |
---|---|---|
query
query,
required
|
||
delimiter
string,
optional
|
delimiter used to separate elements in list |
, |
Examples
qry=queryNew("aaa");
arr=arrayNew(1);
arr[1]="a";
arr[2]="b";
arr[3]="c";
QueryAddColumn(qry,"bbb",arr);
QueryAddColumn(qry,"ccc",arr);
writeDump(queryColumnList(qry));
See also
- Queries
- query.columnList()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)