Re: All executed queries in DB (Common?)
| From: | Lukas Smith | Date: | Tue, 18 Apr 2006 08:29:51 +0000 |
| Subject: | Re: All executed queries in DB (Common?) | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23701@lists.php.net to get a copy of this message | ||
Charlie van de Kerkhof wrote:
On 18 Apr 2006, at 07:55, Lukas Smith wrote:there is unfortunately little documentation :( have a look at the example.php in the docs folder. i think it sets a debug handler. regards, LukasCharlie van de Kerkhof wrote:Thnx Lucas. I was searching in the MDB2 documentation but didn't find a method or something. Can you point me to the right direction?Hi, I was wondering if you could get all executed queries at the end of a script for debugging reasons. I can build it myself, but I was wondering if DB (or DB_Common) has a built in functionality that I can't find.nope its not supported and not really doable unless you wrap around the DB instance or hack the source if DB_common itself. Another alternative is to use MDB2, which does support query debugging.