June 4, 2025
cfquery array of arrays (multidimensional arrays)
Comments
(0)
June 4, 2025
cfquery array of arrays (multidimensional arrays)
Newbie 1 posts
Followers: 0 people
(0)

How do I create a multidimensional array from a cfquery resultset output as an array (CF2021)?  I have a second query that has multiple values that matches a column (many to one) in the first query that would be the subarray.  I want them merged to make one array.  Is there a way to do this without looping through the first query and appending the second query now that cfquery can output an array?  It seems like this would be common practice, but I can’t find anything on it.

 

 

0 Comments
Add Comment