Re: PEAR DB traces
| From: | Kevin McCarthy | Date: | Sun, 01 Apr 2007 23:16:26 +0000 |
| Subject: | Re: PEAR DB traces | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26969@lists.php.net to get a copy of this message | ||
Thanks. However the call fails account of not finding it defined anywhere.
Indeed looking at the included libraries for DB using Postgres I cannot find
the definition either. Is it a recent addition to the PEAR distribution?
Thanks again.
On 3/30/07, Joe Stump <joe@joestump.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 $db->last_query (Not sure about MDB2) - --Joe On Mar 30, 2007, at 3:35 PM, Kevin McCarthy wrote: Hello, I am currently learning how to work with PEAR after several years of PHP development, specifically using the DB classes. Is there a way or a defined method that will expose the actual query being sent to a connected database which are sent using methods such as autoExecute() or fetchRow()? I like to have the option to log actual queries for the sake of sanity-checking. TIA -- Kevin McCarthy kemccarthy1@gmail.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFGDZF3h0MUGpYY9OQRAhY4AJ9WVKvOUQ54YUexqChW4sYyYUmh9gCfV+bO WZdBZz7R1d17PUErcs02kHA= =28JE -----END PGP SIGNATURE------- Kevin McCarthy kemccarthy1@gmail.com http://www.linkedin.com/in/kevinemccarthy