Created
July 2, 2025 17:13
-
-
Save trycf/58bbf5f42669292a399a522c5f94bf31 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()> | |
</cfloop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment