Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7b7c.html
Copy link to clipboard
Copied
The docs here state the third argument to this function is "array-name", being "Name of an array whose elements populate the new column". it's not the name of an array (which would be a string, if anything), it's an actual array. The array can be inline, or can be represented by a variable, or any other expression that returns an array; but you are not giving the function the name of the array (contrast with a wherein it actually IS the name of the query, not the query itself).
The docs are likewise obscure / incorrect for previous versions of CF also.
Copy link to clipboard
Copied
Make that the FOURTH argument. The comment still stands though