ORMExecuteQuery()は、次の配列を返すようです
example = ormExecuteQuery("select count(commentID) as n from pComment c");
output uing cfdump for example would be...
array
[1][x]
ここで、xはカウントです。
配列オブジェクトではなく、数値としてnを取得するにはどうすればよいですか?getn()だけにしたい
ORMExecuteQuery()は、次の配列を返すようです
example = ormExecuteQuery("select count(commentID) as n from pComment c");
output uing cfdump for example would be...
array
[1][x]
ここで、xはカウントです。
配列オブジェクトではなく、数値としてnを取得するにはどうすればよいですか?getn()だけにしたい