CF 8 - cfquery is returning a struct

2007-10-15 Thread Chris Long
Has anyone else encountered this?  We switched to CF8 this week and I noticed 
that when I do a dump of the query variable, it now displays a struct with the 
query results as a member of the struct named resultset.

I haven't been able to find any documentation on this subject.  And I'm sure 
the CF programmers wouldn't have made so drastic a change without making sure 
old code still works.  But I'm a little concerned and I want to make sure there 
aren't any potential code issues I need to fix. 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291135
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF 8 - cfquery is returning a struct

2007-10-15 Thread Charlie Griefer
I've only just started playing with CF8, and yeah, it looks like
you're correct.  the data that (as of CFMX7) was available in the
'result' struct (if you used that attribute) is now available when you
dump the query itself.

i don't know that i'd call it a 'drastic change'.  cfdump is pretty
much just for debugging.  what kind of potential code issues would you
be running into?  you're not using cfdump in your programming logic,
are you?

On 10/15/07, Chris Long [EMAIL PROTECTED] wrote:
 Has anyone else encountered this?  We switched to CF8 this week and I noticed 
 that when I do a dump of the query variable, it now displays a struct with 
 the query results as a member of the struct named resultset.

 I haven't been able to find any documentation on this subject.  And I'm sure 
 the CF programmers wouldn't have made so drastic a change without making sure 
 old code still works.  But I'm a little concerned and I want to make sure 
 there aren't any potential code issues I need to fix.

 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291139
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF 8 - cfquery is returning a struct

2007-10-15 Thread Paul Hastings
Chris Long wrote:
 that when I do a dump of the query variable, it now displays a struct with
 the query results as a member of the struct named resultset.

it's actually documented.

 old code still works.  But I'm a little concerned and I want to make sure
 there aren't any potential code issues I need to fix.

shouldn't be.

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291143
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4