- Blogs
- Discussion
- cfquery array of arrays (multidimensional arrays)
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.
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.
- Most Recent
- Most Relevant






