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
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcameron/89b270e6010260d1ad7e to your computer and use it in GitHub Desktop.
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