Skip to content

Instantly share code, notes, and snippets.

Created April 27, 2017 11:16
Show Gist options
  • Save anonymous/8141178083d301a07d0f6cc6eaefa93a to your computer and use it in GitHub Desktop.
Save anonymous/8141178083d301a07d0f6cc6eaefa93a to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
q = queryNew("lower,UPPER,Mixed");
cols = getMetadata(q).map(function(col){return col.name;});
writeDump([cols, cols.toList()]);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment