November 1, 2022
Write component inside CFSCRIPT
Like
(0)
Comments
(1)
0
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.