Lucee Function Reference

querykeyexists()

Determines whether a specific column is present in a query.

Example

querykeyexists(query query,string column):boolean

Category

query

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
query query  Yes Name of the query to check  
column string  Yes Name of the column to be checked if it exists