Lucee Function Reference

queryrowdata()

Returns a struct with the data from a query for a given row number

Example

queryrowdata(query query,number rowNumber,[string format]):any

Category

query

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
query query  Yes   query object do get data from  
rowNumber number  Yes   position of the row to be returned  
format string  No struct struct or array