Created
July 2, 2025 17:14
-
-
Save trycf/b2d793fdb339ac99baa9d11edbfed20a to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset q = queryNew( | |
"id,name,amount", | |
"Integer,Varchar,Integer", | |
[ | |
{id=1, name="One", amount=15}, | |
{id=2, name="Two", amount=18}, | |
{id=3, name="Three", amount=32} | |
] | |
)> | |
<cfdump var="#q#"> | |
<cfset arr = []> | |
<cfloop query="q"> | |
<cfset ArrayAppend(arr, q)> | |
</cfloop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment