Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/f1f2cb33c0b3fbe5bb29789a93ee0a00 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/f1f2cb33c0b3fbe5bb29789a93ee0a00 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
//writeDump( arrayMap( queryNew("c").getClass().getDeclaredMethods(), m=>m.toString()) )
q = queryNew("name","varchar",[["Brad"],["Luis"],["Jon"]])
while( q.next() ) {
writeDump( q.getObject( "name" ) )
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment