[Zope-DB] accessing the SQL used

T. Muddletin x@Vex.Net
Mon, 10 Mar 2003 05:20:27 -0500

This has got to be a FAQ and yet i can't find it. And i've wearied of
trying to search through the source code for it... obviously the SQL
that a ZSQL method generates has to be accessible somewhere. Where?

If this is a FAQ, just a nudge towards the source of this info would
be greatly appreciated.

When you run the "test" tab in the ZMI it reports the "SQL used:" at
the bottom. It would make debugging a whole lot easier if I could get
my code to print this debug info out... it's very tedious having to
plug variables into the test form.

Tim Middleton | Cain Gang Ltd | A man is rich in proportion to the number of
x@veX.net     | www.Vex.Net   | things which he can afford to let alone. HDT