QueryColumnExists()
Determines whether a specific column is present in a query.
QueryColumnExists( query=query, column=string );
Returns: Boolean
Examples
myQuery = queryNew("custID,custName");
writeDump(queryColumnExists(myQuery,"age"));
writeDump(queryColumnExists(myQuery,"custName"));
See also
- Queries
- QueryKeyExists()
- query.columnExists()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)