This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cffunction name="QueryToStruct" returntype="any" hint="Converts a query to a struct, or an array of structs"> | |
<cfargument name="query" type="query" required="true"/> | |
<cfargument name="row" type="query"/> | |
<cfargument name="forceArray" type="boolean" default="false"/> | |
<cfscript> | |
var local = StructNew(); | |
var result = StructNew(); | |
var idx = ""; | |
var colName = ""; |