Tags · Functions · Objects
Lucee Object Methods Reference
Choose a function:

Object Method Query.addRow

Adds a specified number of empty rows to a query.
Query.addRow([any numberOrData]):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
numberOrData any  No Number of rows to add to the query or a struct/array containing the data tp populate the row.
Example:
queryAddRow(qry,3);
queryAddRow(qry,["Susi",20]);
queryAddRow(qry,{name:"Susi",age:20});