Created
February 18, 2015 19:43
-
-
Save anonymous/dd4a2e70bfed2b5db499 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> | |
q1 = queryNew( "id,name", "integer,varchar", [ | |
{id=1,name="One"}, | |
{id=2,name="Two"}, | |
{id=3,name="Three"} | |
]); | |
qoq = new Query( | |
dbtype = "query", | |
sql = "SELECT * FROM q WHERE id <> 3 ", | |
q = q1 | |
).execute(); | |
writeDump([ | |
q1, | |
qoq.getResult() | |
]); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment