Hi Joe,

That's what I used to think, too.  But take the following code:

<cfset q = session.qncache_qn>
<cfset structdelete(session,"qncache_qn")>
<cfdump var="#q#">

That cfdump works.  This shows that the whole query HAS been copied to Q.

Regards,
Terry



>Hey Terry,
>
>Queries are references types in CF, so it's not an issue.   Example:
>
><cfset qry1 = queryNew("column") />
><cfset queryAddRow(qry1) />
><cfset querySetCell(qry1, "column", "foo") />
>
><cfset qry2 = qry1 />
><cfset querySetCell(qry2, "column", "bar") />
>
><cfdump var="#qry1#" />
><cfdump var="#qry2#" />
>
>-Joe
>
>
>On 1/5/06, Terry Ford <[EMAIL PROTECTED]> wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228472
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to