QueryColumnExists()

Determines whether a specific column is present in a query.

QueryColumnExists( query=query, column=string );

Returns: Boolean

Argument Description
query
query, required
column
string, required

Name of the column.

Examples

myQuery = queryNew("custID,custName");
writeDump(queryColumnExists(myQuery,"age"));
writeDump(queryColumnExists(myQuery,"custName"));

See also