QueryColumnCount()
column count of given query
QueryColumnCount( query=query );
Returns: Number
Examples
qry=queryNew("aaa,bbb,ccc,ddd,eee");
QueryAddRow(qry);
QuerySetCell(qry,"aaa","sss");
QueryAddRow(qry,3);
QuerySetCell(qry,"aaa",(1));
QueryAddRow(qry,1);
writeDump(queryColumnCount(qry));
See also
- Queries
- query.columnCount()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)