Created
July 19, 2021 18:31
-
-
Save trycf/9808ed47e8cd4daf3d47928a39812098 to your computer and use it in GitHub Desktop.
TryCF Gist
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
<cfscript> | |
qry = queryNew( 'col', 'Integer' ) | |
writedump( qry ) | |
qoq = queryExecute( | |
'SELECT sum( col ) FROM qry', | |
[], | |
{ dbType = 'query' } | |
) | |
writedump( qoq ) | |
qoq2 = queryExecute( | |
'SELECT sum( col ) FROM qry GROUP BY col', | |
[], | |
{ dbType = 'query' } | |
) | |
writedump( qoq2 ) | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment