CF docs for `queryAddRow` <https://helpx.adobe.com...
# documentation
a
CF docs for
queryAddRow
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/queryaddrow.html show examples for the
QueryAddRow(query [, data])
variant of this function, but it does not list that in the "Function syntax" section. Lucee's docs (https://docs.lucee.org/reference/functions/queryaddrow.html) don't mention that the
data
variant can take more than one row of data (array of structs or arrays), and the wording kinda suggests that it's just a single row: "...the data to populate the row" (note the singular). CFDocs's (https://cfdocs.org/queryaddrow) says
number/row(s) numeric
, but it should perhaps say something like
number numeric / row(s) (struct, array, array of structs or array of arrays (see examples)
I'll see what I can do with the Lucee and CFDocs ones if I get a moment.
m
@saghosh item here for details on QueryAddRow addition
s
Got it, Mark