Question
getResult() returns 'undefined'
It seems that not long ago when one would perform a databse query in cfscript (using Cold Fusion 9) via the following method:
theQuery = new Query(datasource=APPLICATION.dsn,sql="
SELECT * FROM some_table
").execute().getResult();
That if there were no records returned from the query that what got returned was an empty query object.
NOW, it appears that what is returned is 'undefined', which is breaking my code.
Does anybody know why this is happening?
