Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Forked from anonymous/trycf-gist.cfm
Last active September 7, 2015 05:38
Show Gist options
  • Select an option

  • Save adamcameron/89b270e6010260d1ad7e to your computer and use it in GitHub Desktop.

Select an option

Save adamcameron/89b270e6010260d1ad7e to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
foo = QueryNew("id");
bar = QueryExecute(
"SELECT COUNT(1) AS cnt FROM foo",
[],
{dbtype="query"}
);
writeDump(bar);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment