QueryKeyExists()

Determines whether a specific column is present in a query.

QueryKeyExists( query=query, column=string );

Returns: Boolean

Argument Description
query
query, required
column
string, required

Examples

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

See also