Hello All,

How do I place the below codes inside CFSCRIPT entirely please.  The codes work fine, but I ask to refactor the cfc to be cfscript entirely

my sample.cfc looks like this,
component{
  remote function myFunc()  output= ‘false’ returnformat= ‘json’ {
    var myQry= queryExecute(“SELECT aColumn FROM aTable”);
    return myQry
  }
Thank you very much.
All Comments
Sort by:  Most Recent
2022-11-08 02:24:37

That is entirely cfscript. There’s nothing to refactor. Or please state your question a different way,

Like