Lucee Function Reference
querygetcellbyindex()
return the value of a specific query cell
Introduced: 5.3.4.34
Example
querygetcellbyindex(query query,string column_name,string index,[any defaultValue]):any
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 to get cell value from |
column_name | string | Yes | name of the column |
index | string | Yes | |
defaultValue | any | 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. |