queryAddrow

Overview ColdFusion Open BlueDragon Lucee

Adds a specified number of empty rows to a query.

Attributes

Name Required Type Default Description
number No Numeric
3
numberOrData 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});
query Yes Query
10
rowData No Any Could be numeric, Struct or array of Struct