Lucee object methods reference

Object Method Query.setRow

Adds a row to a query, either by struct or array
Query.setRow([number rowNumber,any rowData]):boolean

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
rowNumber number  No 0 position of the row to updated, otherwise a new row is added
rowData any  Yes   a struct or array