Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/c73ff410a46102465ae72cfdb5d4c194 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/c73ff410a46102465ae72cfdb5d4c194 to your computer and use it in GitHub Desktop.
TryCF Gist
<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