Created
January 18, 2023 15:44
-
-
Save trycf/91a2db7d0767096bc1fc9d93f8caba93 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> | |
news = queryNew("id,title", | |
"integer,varchar", | |
[ {"id":1,"title":"Dewey defeats Truman"}, {"id":2,"title":"Man walks on Moon"} ]); | |
pews = queryNew("id,title", | |
"integer,varchar", | |
[ {"id":3,"title":"Dewey defeats Truman"}, {"id":2,"title":"Man walks on Moon"} ]); | |
result = queryExecute("select * from news where id not in (select id from pews)",{},{dbtype="query"}); | |
writeDump(result); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment