Created
November 18, 2024 17:39
-
-
Save trycf/e4bf19f156979a477e946a1da1e82848 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> | |
// create the query with safe col names | |
qry = QueryNew("test_test,colTwo"); | |
queryaddrow( qry ); | |
querysetcell( qry, "test_test", 123 ); | |
querysetcell( qry, "colTwo", "abc" ); | |
qry.setColumnNames(["test test","colTwo"]); | |
WriteDump(qry); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment