Lucee Function Reference

queryrowbyindex()

Example

queryrowbyindex(query query,string index,[numeric defaultValue]):numeric

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 query object do get data from  
index string  Yes  
defaultValue numeric  No In case no matching index was found, this value is returned by the function, in case it is not set, the function will throw an exception.