Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/58bbf5f42669292a399a522c5f94bf31 to your computer and use it in GitHub Desktop.
Save trycf/58bbf5f42669292a399a522c5f94bf31 to your computer and use it in GitHub Desktop.
TryCF Gist
<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