When I assign a query variable to another query variable, does it make a copy or use a
reference (pointer)?
Specifically I have the following in a module:
I take the name of a query as an argument, and I want to use that query:
<cfset defquery=evaluate("caller.#attributes.defquery#")>
Is this making a copy of all the data, or just a reference to the original?
(BTW, why is it that none of the CF books discuss queries as a data type? It is a
perfectly valid data type to use as you need even if it has nothing to do with a
database. It has it's own strengths and weaknesses distinct from structures.)
---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.545.0938
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.