Returns the column names of a query as a list.
queryColumnList(query [, delimiter])
→ returns string
query.columnList([delimiter])
,
myQuery = queryNew( 'ID,name,age' );
writeOutput( queryColumnList( myQuery ) );
Expected Result: ID,name,age
myQuery = queryNew( 'ID,name,age' );
writeOutput( myQuery.columnList() );
Expected Result: ID,name,age
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.