[Zope-DB] How to view a dynamically generated ZSQL query

Stuart Bishop zen@shangri-la.dropbear.id.au
Wed, 17 Apr 2002 11:45:04 +1000


On Wednesday, April 17, 2002, at 04:34  AM, Jorge O. Martinez wrote:

> Thanks Charlie!
>
> <dtml-var REQUEST> is what I needed to display the VARS. Now I hope 
> someone knows a trick to display the query in the ZSQL method being 
> executed (whether it executes or fails).
>

http://www.zope.org/Members/Zen/tips/GeneratedSQLSource

Quick answer: <dtml-var "myzsqlmethod(REQUEST,src__=1)" html_quote>

--
Stuart Bishop <zen@shangri-la.dropbear.id.au>
http://shangri-la.dropbear.id.au/