QueryGetCell()
return the value of a specific query cell
QueryGetCell( query=query, column_name=string, row_number=number );
Returns: any
Argument | Description | Default |
---|---|---|
query
query,
required
|
query to get cell value from |
|
column_name
string,
required
|
name of the column |
|
row_number
number,
optional
|
row number (1-n) |
-9999 |
Examples
qry=queryNew("aaa");
QueryAddRow(qry);
QuerySetCell(qry,"aaa","a");
QueryAddRow(qry);
QuerySetCell(qry,"aaa","b");
writeDump(QueryGetCell(qry,"aaa"));
writeDump(QueryGetCell(qry,"aaa",1));
See also
- Queries
- query.getCell()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)