November 1, 2022
Write component inside CFSCRIPT
Comments
(1)
November 1, 2022
Write component inside CFSCRIPT
Newbie 1 posts
Followers: 0 people
(1)

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.
1 Comment
2022-11-08 02:24:37
2022-11-08 02:24:37

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

Like
Add Comment