query.columnExists()

Determines whether a specific column is present in a query.

query.columnExists( column )

Returns: Boolean

Argument Description
column
string, required

Examples

myquery = queryNew("id,name");
writeDump(myquery.columnexists("age"));
writeDump(myquery.columnexists("name"));

See also