Created
February 18, 2015 19:44
-
-
Save anonymous/47d9508d9e7c3ef20d96 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 notQ WHERE id <> 3 ", | |
notQ = 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