Created
February 25, 2026 22:43
-
-
Save trycf/c73ff410a46102465ae72cfdb5d4c194 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or 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> | |
| q = new Query() | |
| writedump( getMetadata( q ).name ) | |
| org.lucee.cfml.Query function foo( returnMe ) { | |
| return arguments.returnMe; | |
| } | |
| foo( new Query() ) | |
| mappings = getApplicationMetadata().mappings; | |
| mappings[ '/foo/bar/' ] = "/root/.CommandBox/server/F356062DC4AF2270F3F3D74FA23057BA-sbx/lucee-5.4.8.2/WEB-INF/lucee-web/components/org/lucee/cfml/"; | |
| application action="update" mappings=mappings; | |
| foo( new foo.bar.Query() ) | |
| </cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment