Re: PEAR DB traces

From: Date: Fri, 30 Mar 2007 22:38:45 +0000
Subject: Re: PEAR DB traces
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26962@lists.php.net to get a copy of this message
-----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-----

« previous php.pear.general (#26962) next »