In CF10, is there a way to set the cache region when using cfscript query functions?
sqlString = 'select * from dual';
qs = new query();
qs.setAttributes('cacheRegion', 'users'); //This doesnt seem right?
I've never used cacheRegion, but did a quick Google search and found:
You learn something new, every day. I had no idea one could cache according to region. HTH.
Thanks but that only creates a region for other objects when using cacheput. It doesnt apply the region to the query service object.
Im looking for the equilvant of cfquery tag based to syntax to this:
select * from dual
In this example, it creates the region if it does not exist.