Re: Can I tell CF to dump me all run query names?

2010-09-11 Thread Ketan Jetty
I have written a stack trace tool that will dump all function calls and QUERIES of REQUEST call. This uses the coldfusion service factory. You can get the complete code at http://ketanjetty.com/coldfusion/monitor/stack-trace/ Ketan Jetty http://KetanJetty.com

Can I tell CF to dump me all run query names?

2010-09-07 Thread Stephen Cassady
Is there a way to ask ColdFusion to dump the names of all the CFQuery resultsets? For example, I have some code that runs several cfqueries - the specific ones change based on circumstance - at the request of a page. What I would like to do is dump some sort of variable created by CF that

Re: Can I tell CF to dump me all run query names?

2010-09-07 Thread Peter Boughton
Depends how you've scoped them. Here's a quick example if they're unscoped: cfloop item=CurVar collection=#Variables# cfif isQuery(Variables[CurVar]) cfdump var=#Variables[CurVar]# label=#CurVar# / /cfif /cfloop If you've got multiple scopes used, and/or