I am upgrading from Adobe CF10 to CF2016 and noticed that in CF2016 modifications to a cached query object appear to be persisted back to cache. This does not appear to be the case in CF10.
For example:
<cfquery datasource="myDs" name="rs" cachedwithin="#createtimespan(0,0,5,0)#">
SELECT 10 AS value
</cfquery>
<cfset rs.value = 2016>
<cfquery datasource="myDs" name="rs" cachedwithin="#createtimespan(0,0,5,0)#">
SELECT 10 AS value
</cfquery>
<!--- CF10 outputs 10 --->
<!--- CF2016 outputs 2016 --->
<cfoutput>#rs.value#</cfoutput>
Am I misunderstanding something here? I couldn't find this documented anywhere. RTFMs welcome.