Skip to content

Instantly share code, notes, and snippets.

@mikesprague
Last active December 25, 2015 11:49
Show Gist options
  • Save mikesprague/5706254 to your computer and use it in GitHub Desktop.
Save mikesprague/5706254 to your computer and use it in GitHub Desktop.
CFML: convertQueryToStructArray
<cfscript>
function convertQueryToStructArray( q ) {
var result = [];
for ( var row in arguments.q ) {
result.append( row );
}
return result;
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment