# query.columnArray()

return the column names as array

```
query.columnArray( )
```

**Returns:** array

*This function does not take any arguments.*

# Examples

```cfml
qry=QueryNew("aaa");
arr1 = [];
QueryAddColumn(qry,"bb",arr1);
QueryAddColumn(qry,"bew",arr1);
QueryAddColumn(qry,"bweqb",arr1);
writeDump(qry.ColumnArray());
```

# Categories

[Queries](../../../categories/query.md), [Arrays](../../../categories/array.md)

# See Also

[QueryColumnArray()](../../functions/querycolumnarray.md), [Query](../query.md)